Object Hierarchy:

Object hierarchy for Calendar


[ CCode ( type_id = "gtk_calendar_get_type ()" ) ]
public class Calendar : Widget, Implementor, Buildable

Calendar is a widget that displays a Gregorian calendar, one month at a time.

It can be created with Calendar.

The month and year currently displayed can be altered with select_month. The exact day can be selected from the displayed month using select_day.

To place a visual marker on a particular day, use mark_day and to remove the marker, unmark_day. Alternative, all marks can be cleared with clear_marks.

The way in which the calendar itself is displayed can be altered using set_display_options.

The selected date can be retrieved from a Calendar using get_date.

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.

Namespace: Gtk
Package: gtk+-3.0



Creation methods:



Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor