Time mode is restricted to the normal 24 hour cycle, but Duration mode can select any amount of time up to 99 hours. It consists of entries for hours, minutes and seconds, and a pm/am indicator as well as a button which pops up a Hildon::TimePicker dialog.
|
Public Member Functions |
guint | get_duration_max () const |
| This function returns the longest duration the Hildon::TimeEditor allows in the duration mode.
|
guint | get_duration_min () const |
| This function returns the smallest duration the Hildon::TimeEditor allows in the duration mode.
|
bool | get_duration_mode () const |
| This function returns a boolean indicating whether the Hildon::TimeEditor is in the duration mode.
|
void | get_duration_range (guint& min_seconds, guint& max_seconds) const |
| Gets the duration editor time range of the Hildon::TimeEditor widget.
|
bool | get_show_hours () const |
| This function returns a boolean indicating the visibility of hours in the HildonTimeEditor.
|
bool | get_show_seconds () const |
| This function returns a boolean indicating the visibility of seconds in the Hildon::TimeEditor.
|
guint | get_ticks () const |
| This function returns the current duration, in seconds.
|
void | get_time (guint& hours, guint& minutes, guint& seconds) const |
| Gets the time of the Hildon::TimeEditor widget.
|
const HildonTimeEditor* | gobj () const |
| Provides access to the underlying C GtkObject.
|
HildonTimeEditor* | gobj () |
| Provides access to the underlying C GtkObject.
|
void | set_duration_max (guint duration_max) |
| Sets the maximum allowed duration in seconds for the duration mode.
|
void | set_duration_min (guint duration_min) |
| Sets the minimum allowed duration for the duration mode.
|
void | set_duration_mode (bool duration_mode=true) |
| This function sets the duration editor mode in which the maximum hours is 99.
|
void | set_duration_range (guint min_seconds, guint max_seconds) |
| Sets the duration editor time range of the Hildon::TimeEditor widget.
|
void | set_show_hours (bool enable=true) |
| This function shows or hides the hours field.
|
void | set_show_seconds (bool show_seconds=true) |
| This function shows or hides the seconds field.
|
void | set_ticks (guint ticks) |
| Sets the current duration in seconds.
|
void | set_time (guint hours, guint minutes, guint seconds) |
| This function sets the time on an existing time editor.
|
Glib::SignalProxy1< bool,
TimeEditorErrorType > | signal_time_error () |
| TimeEditor () |
virtual | ~TimeEditor () |
Related Functions |
(Note that these are not member functions.)
|
Hildon::TimeEditor* | wrap (HildonTimeEditor* object, bool take_copy=false) |