GtkCalendar
Displays a calendar and allows the user to select a date
#GtkCalendar is a widget that displays a calendar, one month at a time.
It can be created with gtk_calendar_new().
The month and year currently displayed can be altered with
gtk_calendar_select_month(). The exact day can be selected from the displayed
month using gtk_calendar_select_day().
To place a visual marker on a particular day, use gtk_calendar_mark_day()
and to remove the marker, gtk_calendar_unmark_day().
Alternative, all marks can be cleared with gtk_calendar_clear_marks().
The way in which the calendar itself is displayed can be altered using
gtk_calendar_set_display_options().
The selected date can be retrieved from a #GtkCalendar using
gtk_calendar_get_date().
num_marked_dates is an integer containing the
number of days that have a mark over them.
marked_date is an array containing the day numbers
that currently have a mark over them.
month, year, and
selected_day contain the currently visible month,
year, and selected day respectively.
All of these fields should be considered read only, and everything in this
struct should only be modified using the functions provided below.
Note that month is zero-based (i.e it allowed values
are 0-11) while selected_day is one-based
(i.e. allowed values are 1-31).
Emitted when the user selects a day.
@calendar: the object which received the signal.
@calendar: the object which received the signal.
Emitted when the user clicks a button to change the selected month on a
calendar.
@calendar: the object which received the signal.
@calendar: the object which received the signal.
@calendar: the object which received the signal.
@calendar: the object which received the signal.
@calendar: the object which received the signal.
@calendar:
@year:
@month:
@day:
@user_data:
@Returns:
@GTK_CALENDAR_SHOW_HEADING:
@GTK_CALENDAR_SHOW_DAY_NAMES:
@GTK_CALENDAR_NO_MONTH_CHANGE:
@GTK_CALENDAR_SHOW_WEEK_NUMBERS:
@GTK_CALENDAR_WEEK_START_MONDAY:
@GTK_CALENDAR_SHOW_DETAILS:
@Returns:
@calendar:
@month:
@year:
@Returns:
@calendar:
@day:
@calendar:
@day:
@Returns:
@calendar:
@day:
@Returns:
@calendar:
@calendar:
@Returns:
@calendar:
@flags:
@calendar:
@year:
@month:
@day:
@calendar:
@func:
@data:
@destroy:
@calendar:
@Returns:
@calendar:
@chars:
@calendar:
@Returns:
@calendar:
@rows:
@calendar:
@flags:
@calendar:
@calendar: