| Maeomm Reference Documentation: hildonsmm |

Hildon::PickerButton is a widget that lets the user select a particular item from a list. Visually, it's a button with title and value labels that brings up a Hildon::PickerDialog. The user can then use this dialog to choose an item, which will be displayed in the value label of the button.
You should create your own Hildon::TouchSelector at convenience and set it to the Hildon::PickerButton with Hildon::PickerButton::set_selector(). For the common use cases of buttons to select date and time, you can use Hildon::DateButton and Hildon::TimeButton.
Public Member Functions | |
| int | get_active () const |
| Glib::ustring | get_done_button_text () const |
| const TouchSelector* | get_selector () const |
| TouchSelector* | get_selector () |
| const HildonPickerButton* | gobj () const |
| Provides access to the underlying C GtkObject. | |
| HildonPickerButton* | gobj () |
| Provides access to the underlying C GtkObject. | |
| PickerButton (Gtk::Hildon::SizeType size, ButtonArrangement arrangement) | |
| PickerButton () | |
| void | set_active (int index) |
| void | set_done_button_text (const Glib::ustring& done_button_text) |
| void | set_selector (TouchSelector& selector) |
| Glib::SignalProxy0<void> | signal_value_changed () |
| void | value_changed () |
| virtual | ~PickerButton () |
Related Functions | |
| (Note that these are not member functions.) | |
| Hildon::PickerButton* | wrap (HildonPickerButton* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
| virtual Hildon::PickerButton::~PickerButton | ( | ) | [virtual] |
| Hildon::PickerButton::PickerButton | ( | ) |
| Hildon::PickerButton::PickerButton | ( | Gtk::Hildon::SizeType | size, | |
| ButtonArrangement | arrangement | |||
| ) | [explicit] |
| int Hildon::PickerButton::get_active | ( | ) | const |
| Glib::ustring Hildon::PickerButton::get_done_button_text | ( | ) | const |
| const TouchSelector* Hildon::PickerButton::get_selector | ( | ) | const |
Reimplemented in Hildon::DateButton, and Hildon::TimeButton.
| TouchSelector* Hildon::PickerButton::get_selector | ( | ) |
Reimplemented in Hildon::DateButton, and Hildon::TimeButton.
Referenced by Hildon::TimeButton::get_selector(), and Hildon::DateButton::get_selector().
| const HildonPickerButton* Hildon::PickerButton::gobj | ( | ) | const [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Hildon::Button.
Reimplemented in Hildon::DateButton, and Hildon::TimeButton.
| HildonPickerButton* Hildon::PickerButton::gobj | ( | ) | [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Hildon::Button.
Reimplemented in Hildon::DateButton, and Hildon::TimeButton.
| void Hildon::PickerButton::set_active | ( | int | index | ) |
| void Hildon::PickerButton::set_done_button_text | ( | const Glib::ustring & | done_button_text | ) |
| void Hildon::PickerButton::set_selector | ( | TouchSelector& | selector | ) |
Referenced by Hildon::TimeButton::set_selector(), and Hildon::DateButton::set_selector().
| Glib::SignalProxy0< void > Hildon::PickerButton::signal_value_changed | ( | ) |
void on_my_value_changed() | void Hildon::PickerButton::value_changed | ( | ) |
| Hildon::PickerButton* wrap | ( | HildonPickerButton * | 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. |