| Maemomm Reference Documentation: hildonmm |

Public Member Functions | |
| virtual | ~TimeSelector () |
| HildonTimeSelector * | gobj () |
| Provides access to the underlying C GtkObject. | |
| const HildonTimeSelector * | gobj () const |
| Provides access to the underlying C GtkObject. | |
| TimeSelector () | |
| TimeSelector (guint minutes_step) | |
| bool | set_time (guint hours, guint minutes) |
| Sets the current active hour on the Hildon::TimeSelector widget. | |
| void | get_time (guint &hours, guint &minutes) const |
| Gets the current active hour on the Hildon::TimeSelector widget. | |
| guint | get_hours () const |
| guint | get_minutes () const |
Related Functions | |
| (Note that these are not member functions.) | |
| Hildon::TimeSelector * | wrap (HildonTimeSelector *object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
This widget allows users to choose a time by selecting the hour and minute. It also allows the user to choose between AM or PM. The currently selected time can be altered with set_time(), and retrieved using get_time().
| virtual Hildon::TimeSelector::~TimeSelector | ( | ) | [virtual] |
| Hildon::TimeSelector::TimeSelector | ( | ) |
| Hildon::TimeSelector::TimeSelector | ( | guint | minutes_step | ) | [explicit] |
| HildonTimeSelector* Hildon::TimeSelector::gobj | ( | ) | [inline] |
| const HildonTimeSelector* Hildon::TimeSelector::gobj | ( | ) | const [inline] |
| bool Hildon::TimeSelector::set_time | ( | guint | hours, | |
| guint | minutes | |||
| ) |
Sets the current active hour on the Hildon::TimeSelector widget.
The format of the hours accepted is always 24h format, with a range (0-23):(0-59).
{2,2}
| hours | The current hour (0-23). | |
| minutes | The current minute (0-59). |
true on success, false otherwise. | void Hildon::TimeSelector::get_time | ( | guint & | hours, | |
| guint & | minutes | |||
| ) | const |
Gets the current active hour on the Hildon::TimeSelector widget.
Both year and minutes can be 0.
This method returns the date always in 24h format, with a range (0-23):(0-59)
{2,2}
| hours | To set the current hour (0-23). | |
| minutes | To set the current minute (0-59). |
| guint Hildon::TimeSelector::get_hours | ( | ) | const |
| guint Hildon::TimeSelector::get_minutes | ( | ) | const |
| Hildon::TimeSelector * wrap | ( | HildonTimeSelector * | 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. |