Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::TouchSelectorEntry Class Reference

Inheritance diagram for Hildon::TouchSelectorEntry:

Inheritance graph
[legend]

List of all members.


Detailed Description

Selector widget with a text entry.

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 Entryget_entry () const
Entryget_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::TouchSelectorEntrywrap (HildonTouchSelectorEntry* object, bool take_copy=false)
 A Glib::wrap() method for this object.


Constructor & Destructor Documentation

virtual Hildon::TouchSelectorEntry::~TouchSelectorEntry (  )  [virtual]

Hildon::TouchSelectorEntry::TouchSelectorEntry (  ) 


Member Function Documentation

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]

Provides access to the underlying C GtkObject.

Reimplemented from Hildon::TouchSelector.

HildonTouchSelectorEntry* Hildon::TouchSelectorEntry::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Hildon::TouchSelector.

void Hildon::TouchSelectorEntry::set_input_mode ( Gtk::Hildon::InputMode  input_mode  ) 

void Hildon::TouchSelectorEntry::set_text_column ( int  text_column  ) 


Friends And Related Function Documentation

Hildon::TouchSelectorEntry* wrap ( HildonTouchSelectorEntry *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated for hildonmm by Doxygen 1.5.6 © 1997-2001