Calendar


Object Hierarchy:

Gtk.Calendar Gtk.Calendar Gtk.Calendar Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Calendar GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Atk.Implementor Atk.Implementor Atk.Implementor->Gtk.Calendar Atk.Implementor->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.Calendar Gtk.Buildable->Gtk.Widget

Description:

[ 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

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

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



2022 vala-language.org