Package: gtk
Class gtk-calendar
SuperclassesDocumented Subclasses
None
Direct SlotsDetails The gtk-calendar widget displays a Gregorian calendar, one month at a
time. It can be created with the gtk-calendar-new function. The month and year currently displayed can be altered with the gtk-calendar-select-month function. The exact day can be selected from the displayed month using the gtk-calendar-select-day function. To place a visual marker on a particular day, use the gtk-calendar-mark-day function and to remove the marker, the gtk-calendar-unmark-day function. Alternative, all marks can be cleared with the gtk-calendar-clear-marks function. The way in which the calendar itself is displayed can be altered using the gtk-calendar-display-options function. The selected date can be retrieved from a gtk-calendar widget using the gtk-calendar-date function. Users should be aware that, although the Gregorian calendar is the legal calendar in most countries, it was adopted progressively between 1582 and 1929. Display before these dates is likely to be historically incorrect. Style Property Details
Signal DetailsThe "day-selected" signallambda (calendar) :run-firstThe signal is emitted when the user selects a day.
The "day-selected-double-click" signallambda (calendar) :run-firstThe signal is emitted when the user double-clicks a day.
The "month-changed" signallambda (calendar) :run-firstThe signal is emitted when the user clicks a button to change the selected month on a calendar.
The "next-month" signallambda (calendar) :run-firstThe signal is emitted when the user switched to the next month.
The "next-year" signallambda (calendar) :run-firstThe signal is emitted when user switched to the next year.
The "prev-month" signallambda (calendar) :run-firstThe signal is emitted when the user switched to the previous month.
The "prev-year" signallambda (calendar) :run-firstThe signal is emitted when user switched to the previous year.
| Slot Access FunctionsInherited Slot Access FunctionsSee also |
2021-12-18