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)
gtkEntryGetInnerBorder(object)
gtkEntryGetWidthChars(object)
gtkEntrySetActivatesDefault(object, setting)
gtkEntrySetHasFrame(object, setting)
gtkEntrySetInnerBorder(object, border = NULL)
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)
gtkEntrySetCursorHadjustment(object, adjustment)
gtkEntryGetCursorHadjustment(object)
gtkEntry(max = 0, show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkEntry +----GtkSpinButton
GtkEntry implements
GtkBuildable
, 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.
The (entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
The (entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
The (entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
The (entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
The (entry, arg1, arg2, user.data)
entry
GtkEntry
] the object which received the signal.arg1
GtkDeleteType
] arg2
user.data
The (entry, arg1, user.data)
entry
GtkEntry
] the object which received the signal.arg1
user.data
The (entry, arg1, arg2, arg3, user.data)
entry
GtkEntry
] the object which received the signal.arg1
GtkMovementStep
] arg2
arg3
user.data
The (entry, user.data)
entry
GtkEntry
] the object which received the signal.user.data
The (entry, arg1, user.data)
entry
GtkEntry
] the object which received the signal.arg1
GtkMenu
] user.data
The (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
inner-border
[GtkBorder
: Read / Write]Sets the text area's border between the text and the frame.
Since 2.10
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
shadow-type
[GtkShadowType
: Read / Write]
Which kind of shadow to draw around the entry when
:has-frame
is set to TRUE
.
Default value: GTK_SHADOW_IN Since 2.12
text
[character : Read / Write]The contents of the entry. Default value: ""
truncate-multiline
[logical : Read / Write]
When TRUE
, pasted multi-line text is truncated to the first line.
Default value: FALSE Since 2.10
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
inner-border
[GtkBorder
: Read]Sets the text area's border between the text and the frame.
Since 2.10
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkEntry.html