Maeomm Reference Documentation: hildonsmm |
Hildon::TouchSelectorEntry is a selector widget with a text entry, similar in behaviour to Gtk::ComboBoxEntry, that allows user to select an item from a predefined list or to enter a different one in a Hildon::Entry. Items can also be searched and selected by typing in the entry. For more specific use cases, the Hildon::Entry can be accessed directly with Hildon::TouchSelectorEntry::get_entry().
The main difference between the Gtk::TreeModel used by Hildon::TouchSelector and Hildon::TouchSelectorEntry, is that the latter must always include a text column. You should set it with Hildon::TouchSelectorEntry::set_text_column().
Normally, you would use Hildon::TouchSelectorEntry together with a Hildon::PickerDialog activated from a button. For the most common cases, you should use Hildon::PickerButton.
If you only need a text-only, one column selector, you can use the simpler TouchSelectorEntryText class.
Public Member Functions | |
const Entry* | get_entry () const |
Entry* | get_entry () |
Gtk::Hildon::InputMode | get_input_mode () const |
int | get_text_column () const |
const HildonTouchSelectorEntry* | gobj () const |
Provides access to the underlying C GtkObject. | |
HildonTouchSelectorEntry* | gobj () |
Provides access to the underlying C GtkObject. | |
void | set_input_mode (Gtk::Hildon::InputMode input_mode) |
void | set_text_column (int text_column) |
TouchSelectorEntry () | |
virtual | ~TouchSelectorEntry () |
Related Functions | |
(Note that these are not member functions.) | |
Hildon::TouchSelectorEntry* | wrap (HildonTouchSelectorEntry* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
virtual Hildon::TouchSelectorEntry::~TouchSelectorEntry | ( | ) | [virtual] |
Hildon::TouchSelectorEntry::TouchSelectorEntry | ( | ) |
const Entry* Hildon::TouchSelectorEntry::get_entry | ( | ) | const |
Entry* Hildon::TouchSelectorEntry::get_entry | ( | ) |
Gtk::Hildon::InputMode Hildon::TouchSelectorEntry::get_input_mode | ( | ) | const |
int Hildon::TouchSelectorEntry::get_text_column | ( | ) | const |
const HildonTouchSelectorEntry* Hildon::TouchSelectorEntry::gobj | ( | ) | const [inline] |
HildonTouchSelectorEntry* Hildon::TouchSelectorEntry::gobj | ( | ) | [inline] |
void Hildon::TouchSelectorEntry::set_input_mode | ( | Gtk::Hildon::InputMode | input_mode | ) |
void Hildon::TouchSelectorEntry::set_text_column | ( | int | text_column | ) |
Hildon::TouchSelectorEntry* wrap | ( | HildonTouchSelectorEntry * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |