![]() |
![]() |
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. | |
ComboBoxEntryText () | |
Glib::ustring | get_active_text () const |
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) |
Protected Attributes | |
TextModelColumns | m_text_columns |
Classes | |
class | TextModelColumns |
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 |
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 | ) |