|  |  | 

Note that you can not use this class with Gnome::Glade::Xml::get_widget_derived() to wrap a GtkComboBox added in the Glade user interface designer, because Glade adds its own TreeModel instead of using the TreeModel from this class. You could use a normal Gtk::ComboBox instead, though you can not use Glade to add rows to a TreeModel that is defined in your C++ code.
| Public Member Functions | |
| void | append_text (const Glib::ustring& text) | 
| Add an item to the end of the drop-down list. | |
| void | clear () | 
| void | clear_items () | 
| Remove all items from the drop-down menu. | |
| ComboBoxText () | |
| Glib::ustring | get_active_text () const | 
| Get the currently-chosen item. | |
| void | insert_text (int position, const Glib::ustring& text) | 
| void | prepend_text (const Glib::ustring& text) | 
| Add an item to the beginning of the drop-down list. | |
| void | remove_text (const Glib::ustring& text) | 
| Remove the specified item if it is in the drop-down menu. | |
| void | set_active_text (const Glib::ustring& text) | 
| Set the currently-chosen item if it matches the specified text. | |
| Protected Attributes | |
| TextModelColumns | m_text_columns | 
| Classes | |
| class | TextModelColumns | 
| 
 | 
| 
 | 
| 
 | 
| Add an item to the end of the drop-down list. 
 
 | 
| 
 | 
| 
 
 Reimplemented from Gtk::CellLayout. | 
| 
 | 
| Remove all items from the drop-down menu. 
 | 
| 
 | 
| Get the currently-chosen item. 
 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | 
| Add an item to the beginning of the drop-down list. 
 
 | 
| 
 | 
| Remove the specified item if it is in the drop-down menu. The text of the item that should be removed. | 
| 
 | 
| Set the currently-chosen item if it matches the specified text. The text of the item that should be selected. | 
| 
 | 
| 
 |