GtkEntryBuffer
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)
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.
GtkEntryBufferundocumented
gtkEntryBuffer is the equivalent of gtkEntryBufferNew.
deleted-text(entrybuffer, user.data)undocumented
entrybufferthe object which received the signal.
user.datauser data set when the signal handler was connected.
inserted-text(entrybuffer, user.data)undocumented
entrybufferthe object which received the signal.
user.datauser 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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.