GtkComboBoxEntry {RGtk2} | R Documentation |
A text entry field with a dropdown list
gtkComboBoxEntryNew(show = TRUE)
gtkComboBoxEntryNewWithModel(model, text.column)
gtkComboBoxEntryNewText()
gtkComboBoxEntrySetTextColumn(object, text.column)
gtkComboBoxEntryGetTextColumn(object)
gtkComboBoxEntry(show = TRUE)
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkComboBox +----GtkComboBoxEntry
GtkComboBoxEntry implements
AtkImplementorIface, GtkCellEditable
and GtkCellLayout
.
A GtkComboBoxEntry
is a widget that allows the user to choose from a
list of valid choices or enter a different value. It is very similar
to a GtkComboBox
, but it displays the selected value in an entry to
allow modifying it.
In contrast to a GtkComboBox
, the underlying model of a GtkComboBoxEntry
must always have a text column (see gtkComboBoxEntrySetTextColumn
),
and the entry will show the content of the text column in the selected row. To
get the text from the entry, use gtkComboBoxGetActiveText
.
The convenience API to construct simple text-only GtkComboBox
es can
also be used with GtkComboBoxEntry
s which have been constructed
with gtkComboBoxEntryNewText
.
GtkComboBoxEntry
gtkComboBoxEntry
is the equivalent of gtkComboBoxEntryNew
.
text-column
[integer : Read / Write]A column in the data source model to get the strings from. Allowed values: >= -1 Default value: -1
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBoxEntry.html