| Maemomm Reference Documentation: hildonmm |

Public Member Functions | |
| virtual | ~TimeButton () |
| HildonTimeButton * | gobj () |
| Provides access to the underlying C GtkObject. | |
| const HildonTimeButton * | gobj () const |
| Provides access to the underlying C GtkObject. | |
| TimeButton () | |
| TimeButton (Gtk::Hildon::SizeType size, ButtonArrangement arrangement) | |
| TimeButton (Gtk::Hildon::SizeType size, ButtonArrangement arrangement, guint minutes_step) | |
| Creates a new Hildon::TimeButton. | |
| void | set_time (guint hours, guint minutes) |
| Sets the time to be displayed in button. | |
| void | get_time (guint &hours, guint &minutes) const |
| Retrieves the time from button. | |
| guint | get_hours () const |
| guint | get_minutes () const |
| void | set_selector (TimeSelector &selector) |
| TimeSelector * | get_selector () |
| Retrieves the Hildon::TouchSelector associated to button. | |
| const TimeSelector * | get_selector () const |
| Retrieves the Hildon::TouchSelector associated to button. | |
Related Functions | |
| (Note that these are not member functions.) | |
| Hildon::TimeButton * | wrap (HildonTimeButton *object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
The TimeButton widget shows a text label and a time, and allows the user to select a different time. Visually, it's a button that, once clicked, presents a Hildon::PickerDialog containing a Hildon::TimeSelector. Once the user selects a different time from the selector, this will be shown in the button.
| virtual Hildon::TimeButton::~TimeButton | ( | ) | [virtual] |
| Hildon::TimeButton::TimeButton | ( | ) |
| Hildon::TimeButton::TimeButton | ( | Gtk::Hildon::SizeType | size, | |
| ButtonArrangement | arrangement | |||
| ) | [explicit] |
| Hildon::TimeButton::TimeButton | ( | Gtk::Hildon::SizeType | size, | |
| ButtonArrangement | arrangement, | |||
| guint | minutes_step | |||
| ) |
Creates a new Hildon::TimeButton.
See Hildon::Button::new() for details on the parameters.
| size | One of Hildon::SizeType. | |
| arrangement | One of Hildon::ButtonArrangement. | |
| minutes_step | Step between the minutes in the selector options. |
| HildonTimeButton* Hildon::TimeButton::gobj | ( | ) | [inline] |
| const HildonTimeButton* Hildon::TimeButton::gobj | ( | ) | const [inline] |
| void Hildon::TimeButton::set_time | ( | guint | hours, | |
| guint | minutes | |||
| ) |
Sets the time to be displayed in button.
This time will be selected by default on the Hildon::TimeSelector.
{2,2}
| hours | The hours to be set. | |
| minutes | The time to be set. |
| void Hildon::TimeButton::get_time | ( | guint & | hours, | |
| guint & | minutes | |||
| ) | const |
Retrieves the time from button.
{2,2}
| hours | Return location for the hours of the time selected. | |
| minutes | Return location for the minutes of the time selected. |
| guint Hildon::TimeButton::get_hours | ( | ) | const |
| guint Hildon::TimeButton::get_minutes | ( | ) | const |
| void Hildon::TimeButton::set_selector | ( | TimeSelector & | selector | ) | [inline] |
| TimeSelector* Hildon::TimeButton::get_selector | ( | ) | [inline] |
Retrieves the Hildon::TouchSelector associated to button.
Reimplemented from Hildon::PickerButton.
| const TimeSelector* Hildon::TimeButton::get_selector | ( | ) | const [inline] |
Retrieves the Hildon::TouchSelector associated to button.
Reimplemented from Hildon::PickerButton.
| Hildon::TimeButton * wrap | ( | HildonTimeButton * | 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. |