Method

GtkCalendarget_date

Declaration [src]

void
gtk_calendar_get_date (
  GtkCalendar* calendar,
  guint* year,
  guint* month,
  guint* day
)

Description [src]

Obtains the selected date from a GtkCalendar.

Parameters

year

Type: guint*

Location to store the year as a decimal number (e.g. 2011), or NULL.

The argument will be set by the function.
The argument can be NULL.
month

Type: guint*

Location to store the month number (between 0 and 11), or NULL.

The argument will be set by the function.
The argument can be NULL.
day

Type: guint*

Location to store the day number (between 1 and 31), or NULL.

The argument will be set by the function.
The argument can be NULL.