Inherits Gtk::ComboBoxEntry.

Classes | |
| class | TextModelColumns |
Public Member Functions | |
| ComboBoxEntryText () | |
| void | append_text (const Glib::ustring& text) |
| Add an item to the end of the drop-down list. | |
| 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. | |
| Glib::ustring | get_active_text () const |
| Returns the currently active string. | |
| void | set_active_text (const Glib::ustring& text) |
| void | clear () |
| void | clear_items () |
| Remove all items from the drop-down menu. | |
| void | remove_text (const Glib::ustring& text) |
| Remove the specified item if it is in the drop-down menu. | |
Protected Attributes | |
| TextModelColumns | m_text_columns |
| Gtk::ComboBoxEntryText::ComboBoxEntryText | ( | ) |
| void Gtk::ComboBoxEntryText::append_text | ( | const Glib::ustring & | text | ) |
Add an item to the end of the drop-down list.
| text | The text for the item. |
| void Gtk::ComboBoxEntryText::clear | ( | ) |
| void Gtk::ComboBoxEntryText::clear_items | ( | ) |
Remove all items from the drop-down menu.
| Glib::ustring Gtk::ComboBoxEntryText::get_active_text | ( | ) | const |
Returns the currently active string.
Reimplemented from Gtk::ComboBoxEntry.
| void Gtk::ComboBoxEntryText::insert_text | ( | int | position, | |
| const Glib::ustring & | text | |||
| ) |
| void Gtk::ComboBoxEntryText::prepend_text | ( | const Glib::ustring & | text | ) |
Add an item to the beginning of the drop-down list.
| text | The text for the item. |
| void Gtk::ComboBoxEntryText::remove_text | ( | const Glib::ustring & | text | ) |
Remove the specified item if it is in the drop-down menu.
The text of the item that should be removed.
| void Gtk::ComboBoxEntryText::set_active_text | ( | const Glib::ustring & | text | ) |
1.5.8