hildon-libs 0.14.11 Reference Manual |
---|
HildonWeekdayPickerHildonWeekdayPicker — A widget for picking days on which a certain event should take place |
#define HILDON_WEEKDAY_PICKER_TYPE GtkWidget* hildon_weekday_picker_new (void); void hildon_weekday_picker_set_day (HildonWeekdayPicker *picker, GDateWeekday day); void hildon_weekday_picker_unset_day (HildonWeekdayPicker *picker, GDateWeekday day); void hildon_weekday_picker_toggle_day (HildonWeekdayPicker *picker, GDateWeekday day); void hildon_weekday_picker_set_all (HildonWeekdayPicker *picker); void hildon_weekday_picker_unset_all (HildonWeekdayPicker *picker); gboolean hildon_weekday_picker_isset_day (HildonWeekdayPicker *picker, GDateWeekday day);
HildonWeekdayPicker supports non-mutually exclusive selection of days of the week. Selected days of the week are shown with a pushed-in effect.
HildonWeekdayPicker is used where users are required to pick days on which a certain event should take place, for example, which days a Calendar event should be repeated on. It is used in Calendar in the Repeat dialog, in Tasks in the Repeat dialog and in the Email set-up wizard.
gint i;
HildonWeekdayPicker *picker = hildon_weekday_picker_new()
;
hildon_weekday_picker_set_day( picker, i );
hildon_weekday_picker_unset_day( picker, i );
hildon_weekday_picker_toggle_day( picker, i );
hildon_weekday_picker_set_all( picker );
hildon_weekday_picker_unset_all( picker );
#define HILDON_WEEKDAY_PICKER_TYPE HILDON_TYPE_WEEKDAY_PICKER
HILDON_WEEKDAY_PICKER_TYPE
is deprecated and should not be used in newly-written code. use HILDON_TYPE_WEEKDAY_PICKER instead.
GtkWidget* hildon_weekday_picker_new (void);
Creates a new HildonWeekdayPicker.
Returns : | New HildonWeekdayPicker. |
void hildon_weekday_picker_set_day (HildonWeekdayPicker *picker, GDateWeekday day);
Select specified weekday.
picker : |
HildonWeekdayPicker. |
day : |
GDateWeekday. |
void hildon_weekday_picker_unset_day (HildonWeekdayPicker *picker, GDateWeekday day);
Unselect specified weekday.
picker : |
HildonWeekdayPicker. |
day : |
GDateWeekday. |
void hildon_weekday_picker_toggle_day (HildonWeekdayPicker *picker, GDateWeekday day);
Toggle current status of the specified weekday.
picker : |
HildonWeekdayPicker. |
day : |
GDateWeekday. |
void hildon_weekday_picker_set_all (HildonWeekdayPicker *picker);
Select all weekdays.
picker : |
HildonWeekdayPicker. |
void hildon_weekday_picker_unset_all (HildonWeekdayPicker *picker);
Unselect all weekdays.
picker : |
HildonWeekdayPicker. |
<< HildonCalendarPopup | HildonTimePicker >> |