Description Methods and Functions Hierarchy Detailed Description Structures Convenient Construction Signals Properties Author(s) References
Text buffer for GtkEntry
gtkEntryBufferNew(initial.chars = NULL, n.initial.chars = -1)
gtkEntryBufferGetText(object)
gtkEntryBufferSetText(object, chars, n.chars)
gtkEntryBufferGetBytes(object)
gtkEntryBufferGetLength(object)
gtkEntryBufferGetMaxLength(object)
gtkEntryBufferSetMaxLength(object, max.length)
gtkEntryBufferInsertText(object, position, chars, n.chars)
gtkEntryBufferDeleteText(object, position, n.chars)
gtkEntryBufferEmitDeletedText(object, position, n.chars)
gtkEntryBufferEmitInsertedText(object, position, chars, n.chars)
gtkEntryBuffer(initial.chars = NULL, n.initial.chars = -1)
1 2 | GObject
+----GtkEntryBuffer
|
The GtkEntryBuffer
class contains the actual text displayed in a
GtkEntry
widget.
A single GtkEntryBuffer
object can be shared by multiple GtkEntry
widgets which will then share the same text content, but not the cursor
position, visibility attributes, icon etc.
GtkEntryBuffer
may be derived from. Such a derived class might allow
text to be stored in an alternate location, such as non-pageable memory,
useful in the case of important passwords. Or a derived class could
integrate with an application's concept of undo/redo.
GtkEntryBuffer
undocumented
gtkEntryBuffer
is the equivalent of gtkEntryBufferNew
.
deleted-text(entrybuffer, user.data)
undocumented
entrybuffer
the object which received the signal.
user.data
user data set when the signal handler was connected.
inserted-text(entrybuffer, user.data)
undocumented
entrybuffer
the object which received the signal.
user.data
user data set when the signal handler was connected.
length
[numeric : Read]The length (in characters) of the text in buffer. Allowed values: <= 65535 Default value: 0 Since 2.18
max-length
[integer : Read / Write]The maximum length (in characters) of the text in the buffer. Allowed values: [0,65535] Default value: 0 Since 2.18
text
[character : * : Read / Write]The contents of the buffer. Default value: "" Since 2.18
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkEntryBuffer.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.