Learn R Programming

RGtk2 (version 2.20.1)

GtkEntryBuffer: GtkEntryBuffer

Description

Text buffer for GtkEntry

Arguments

Methods and Functions

gtkEntryBufferNew(initial.chars, n.initial.chars) 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, n.initial.chars)

Hierarchy

GObject +----GtkEntryBuffer

Detailed Description

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.

Convenient Construction

gtkEntryBuffer is the equivalent of gtkEntryBufferNew.

References

http://library.gnome.org/devel//gtk/GtkEntryBuffer.html