Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::PickerDialog Class Reference

Inheritance diagram for Hildon::PickerDialog:

Inheritance graph
[legend]

List of all members.


Detailed Description

A utility dialog that shows a Hildon::TouchSelector widget.

Hildon::PickerDialog is a dialog that is used to show a Hildon::TouchSelector widget and a "Done" button to allow users to finish their selections.

The Hildon::PickerDialog will show a "Done" button in case the Hildon::TouchSelector allows multiple selection. The label of the button can be set using Hildon::PickerDialog::set_done_label() and retrieved using Hildon::PickerDialog::get_done_label().

Note that in most cases developers don't need to deal directly with this dialog. Hildon::PickerButton is designed to pop up a Hildon::PickerDialog and manage the interaction with it.

Public Member Functions

Glib::ustring get_done_label () const
const TouchSelectorget_selector () const
TouchSelectorget_selector ()
const HildonPickerDialog* gobj () const
 Provides access to the underlying C GtkObject.
HildonPickerDialog* gobj ()
 Provides access to the underlying C GtkObject.
 PickerDialog (Gtk::Window& parent)
 PickerDialog ()
void set_done_label (const Glib::ustring& label)
void set_selector (TouchSelector& selector)
virtual ~PickerDialog ()

Related Functions

(Note that these are not member functions.)

Hildon::PickerDialogwrap (HildonPickerDialog* object, bool take_copy=false)
 A Glib::wrap() method for this object.


Constructor & Destructor Documentation

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

Hildon::PickerDialog::PickerDialog (  ) 

Hildon::PickerDialog::PickerDialog ( Gtk::Window parent  )  [explicit]


Member Function Documentation

Glib::ustring Hildon::PickerDialog::get_done_label (  )  const

const TouchSelector* Hildon::PickerDialog::get_selector (  )  const

TouchSelector* Hildon::PickerDialog::get_selector (  ) 

const HildonPickerDialog* Hildon::PickerDialog::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

HildonPickerDialog* Hildon::PickerDialog::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Hildon::PickerDialog::set_done_label ( const Glib::ustring label  ) 

void Hildon::PickerDialog::set_selector ( TouchSelector selector  ) 


Friends And Related Function Documentation

Hildon::PickerDialog* wrap ( HildonPickerDialog *  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