![]() |
![]() |
![]() |
hildon 2.1.34 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
HildonDateSelector; GtkWidget * hildon_date_selector_new (void); gboolean hildon_date_selector_select_month (HildonDateSelector *selector, guint month, guint year); void hildon_date_selector_select_day (HildonDateSelector *selector, guint day); gboolean hildon_date_selector_select_current_date (HildonDateSelector *selector, guint year, guint month, guint day); void hildon_date_selector_get_date (HildonDateSelector *selector, guint *year, guint *month, guint *day);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----HildonTouchSelector +----HildonDateSelector
HildonDateSelector implements GtkBuildable, AtkImplementorIface and GtkOrientable.
HildonDateSelector is a date widget, equivalent to hildon-calendar, but with a multi-column approach
GtkWidget * hildon_date_selector_new (void);
Creates a new HildonDateSelector
Returns : |
a new HildonDateSelector |
Since 2.2
gboolean hildon_date_selector_select_month (HildonDateSelector *selector, guint month, guint year);
Modify the current month and year on the current active date
Utility function, too keep this API more similar to the previously existing hildon-calendar widget.
|
the HildonDateSelector |
|
the current month (0-11) |
|
the current year |
Returns : |
TRUE on success, FALSE otherwise
|
Since 2.2
void hildon_date_selector_select_day (HildonDateSelector *selector, guint day);
Modify the current day on the current active date
Utility function, too keep this API more similar to the previously existing hildon-calendar widget.
|
the HildonDateSelector |
|
the current day (1-31, 1-30, 1-29, 1-28) depends on the month |
Since 2.2
gboolean hildon_date_selector_select_current_date (HildonDateSelector *selector, guint year, guint month, guint day);
Sets the current active date on the HildonDateSelector widget
|
the HildonDateSelector |
|
the current year |
|
the current month (0-11) |
|
the current day (1-31, 1-30, 1-29, 1-28) depends on the month |
Returns : |
TRUE on success, FALSE otherwise
|
Since 2.2
void hildon_date_selector_get_date (HildonDateSelector *selector, guint *year, guint *month, guint *day);
Gets the current active date on the HildonDateSelector widget
|
the HildonDateSelector |
|
to set the current year |
|
to set the current month (0-11) |
|
to the current day (1-31, 1-30, 1-29, 1-28) depends on the month |
Since 2.2