Maemomm Reference Documentation: hildonmm |
Public Member Functions | |
TouchSelectorEntryText () | |
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) |
Insert an item into the TouchSelectorEntryText, 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_selected_text () const |
Get the currently-chosen item. | |
void | set_selected_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::TouchSelectorEntryText::TouchSelectorEntryText | ( | ) |
void Hildon::TouchSelectorEntryText::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::TouchSelectorEntryText::insert_text | ( | int | position, | |
const Glib::ustring & | text | |||
) |
Insert an item into the TouchSelectorEntryText, at a specified position.
text | The text for the item. | |
position | The position at which to insert the text. |
void Hildon::TouchSelectorEntryText::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::TouchSelectorEntryText::get_selected_text | ( | ) | const |
Get the currently-chosen item.
text | The text of the selected item. |
void Hildon::TouchSelectorEntryText::set_selected_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::TouchSelectorEntryText::clear | ( | ) |
void Hildon::TouchSelectorEntryText::clear_items | ( | ) |
Remove all items from the drop-down menu.
void Hildon::TouchSelectorEntryText::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::TouchSelectorEntryText::m_text_columns [protected] |
Glib::RefPtr<TouchSelectorColumn> Hildon::TouchSelectorEntryText::m_touch_selector_column [protected] |