GtkComboBoxEntry {RGtk2}R Documentation

GtkComboBoxEntry

Description

A text entry field with a dropdown list

Methods and Functions

gtkComboBoxEntryNew(show = TRUE)
gtkComboBoxEntryNewWithModel(model, text.column)
gtkComboBoxEntryNewText()
gtkComboBoxEntrySetTextColumn(object, text.column)
gtkComboBoxEntryGetTextColumn(object)
gtkComboBoxEntry(show = TRUE)

Hierarchy

  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkComboBox
                                 +----GtkComboBoxEntry

Interfaces

GtkComboBoxEntry implements AtkImplementorIface, GtkCellEditable and GtkCellLayout.

Detailed Description

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 GtkComboBoxes can also be used with GtkComboBoxEntrys which have been constructed with gtkComboBoxEntryNewText.

Structures

GtkComboBoxEntry
undocumented

Convenient Construction

gtkComboBoxEntry is the equivalent of gtkComboBoxEntryNew.

Properties

text-column [integer : Read / Write]

A column in the data source model to get the strings from. Allowed values: >= -1 Default value: -1

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBoxEntry.html

See Also

GtkComboBox


[Package RGtk2 version 2.8.5 Index]