GtkEntry {RGtk2} | R Documentation |
A single line text entry field
gtkEntryNew(show = TRUE)
gtkEntryNewWithMaxLength(max = 0, show = TRUE)
gtkEntrySetText(object, text)
gtkEntryAppendText(object, text)
gtkEntryPrependText(object, text)
gtkEntrySetPosition(object, position)
gtkEntryGetText(object)
gtkEntrySelectRegion(object, start, end)
gtkEntrySetVisibility(object, visible)
gtkEntrySetInvisibleChar(object, ch)
gtkEntrySetEditable(object, editable)
gtkEntrySetMaxLength(object, max)
gtkEntryGetActivatesDefault(object)
gtkEntryGetHasFrame(object)
gtkEntryGetWidthChars(object)
gtkEntrySetActivatesDefault(object, setting)
gtkEntrySetHasFrame(object, setting)
gtkEntrySetWidthChars(object, n.chars)
gtkEntryGetInvisibleChar(object)
gtkEntrySetAlignment(object, xalign)
gtkEntryGetAlignment(object)
gtkEntryGetLayout(object)
gtkEntryGetLayoutOffsets(object)
gtkEntryLayoutIndexToTextIndex(object, layout.index)
gtkEntryTextIndexToLayoutIndex(object, text.index)
gtkEntryGetMaxLength(object)
gtkEntryGetVisibility(object)
gtkEntrySetCompletion(object, completion)
gtkEntryGetCompletion(object)
gtkEntry(max = 0, show = TRUE)
GObject +----GtkObject +----GtkWidget +----GtkEntry +----GtkSpinButton
GtkEntry implements
AtkImplementorIface, GtkCellEditable
and GtkEditable
.
The GtkEntry
widget is a single line text entry
widget. A fairly large set of key bindings are supported
by default. If the entered text is longer than the allocation
of the widget, the widget will scroll so that the cursor
position is visible.
GtkEntry
GtkEntry
struct contains only private data.
gtkEntry
is the result of collapsing the constructors of GtkEntry
(gtkEntryNew
, gtkEntryNewWithMaxLength
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.
activate(entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
backspace(entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
copy-clipboard(entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
cut-clipboard(entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
delete-from-cursor(entry, arg1, arg2, user.data)
entry
GtkEntry
] the object which received the signal.arg1
GtkDeleteType
] arg2
user.data
insert-at-cursor(entry, arg1, user.data)
entry
GtkEntry
] the object which received the signal.arg1
user.data
move-cursor(entry, arg1, arg2, arg3, user.data)
entry
GtkEntry
] the object which received the signal.arg1
GtkMovementStep
] arg2
arg3
user.data
paste-clipboard(entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
populate-popup(entry, arg1, user.data)
entry
GtkEntry
] the object which received the signal.arg1
GtkMenu
] user.data
toggle-overwrite(entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
activates-default
[logical : Read / Write]Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed. Default value: FALSE
cursor-position
[integer : Read]The current position of the insertion cursor in chars. Allowed values: [0,65535] Default value: 0
editable
[logical : Read / Write]Whether the entry contents can be edited. Default value: TRUE
has-frame
[logical : Read / Write]FALSE removes outside bevel from entry. Default value: TRUE
invisible-char
[numeric : Read / Write]The character to use when masking entry contents (in "password mode"). Default value: '*'
max-length
[integer : Read / Write]Maximum number of characters for this entry. Zero if no maximum. Allowed values: [0,65535] Default value: 0
scroll-offset
[integer : Read]Number of pixels of the entry scrolled off the screen to the left. Allowed values: >= 0 Default value: 0
selection-bound
[integer : Read]The position of the opposite end of the selection from the cursor in chars. Allowed values: [0,65535] Default value: 0
text
[character : Read / Write]The contents of the entry. Default value: ""
visibility
[logical : Read / Write]FALSE displays the "invisible char" instead of the actual text (password mode). Default value: TRUE
width-chars
[integer : Read / Write]Number of characters to leave space for in the entry. Allowed values: >= -1 Default value: -1
xalign
[numeric : Read / Write]The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.
Allowed values: [0,1] Default value: 0 Since 2.4
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkEntry.html