Maeomm Reference Documentation: hildonmm |
Public Member Functions | |
TouchSelectorText () | |
Creates a new TouchSelectorText. | |
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) |
Inserts a text item into the TouchSelectorText at a specified position. | |
void | prepend_text (const Glib::ustring& text) |
Add an item to the beginning of the drop-down list. | |
Glib::ustring | get_active_text () const |
Get the currently-chosen item. | |
void | set_active_text (const Glib::ustring& text) |
Set the currently-chosen item if it matches the specified 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 |
Glib::RefPtr<Gtk::ListStore> | m_model |
Glib::RefPtr<TouchSelectorColumn> | m_touch_selector_column |
Hildon::TouchSelectorText::TouchSelectorText | ( | ) |
Creates a new TouchSelectorText.
void Hildon::TouchSelectorText::append_text | ( | const Glib::ustring & | text | ) |
Add an item to the end of the drop-down list.
text | The text for the item. |
void Hildon::TouchSelectorText::insert_text | ( | int | position, | |
const Glib::ustring & | text | |||
) |
Inserts a text item into the TouchSelectorText at a specified position.
position | The position at which to insert the item. | |
text | The text for the item. |
void Hildon::TouchSelectorText::prepend_text | ( | const Glib::ustring & | text | ) |
Add an item to the beginning of the drop-down list.
text | The text for the item. |
Glib::ustring Hildon::TouchSelectorText::get_active_text | ( | ) | const |
Get the currently-chosen item.
void Hildon::TouchSelectorText::set_active_text | ( | const Glib::ustring & | text | ) |
Set the currently-chosen item if it matches the specified text.
text | The text of the item that should be selected. |
void Hildon::TouchSelectorText::clear | ( | ) |
void Hildon::TouchSelectorText::clear_items | ( | ) |
Remove all items from the drop-down menu.
void Hildon::TouchSelectorText::remove_text | ( | const Glib::ustring & | text | ) |
Remove the specified item if it is in the drop-down menu.
text | The text of the item that should be removed. |
TextModelColumns Hildon::TouchSelectorText::m_text_columns [protected] |
Glib::RefPtr<Gtk::ListStore> Hildon::TouchSelectorText::m_model [protected] |