Description
Gtk_Calendar is a widget that displays a calendar, one month at a time.
It can be created with
Gtk_New.
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.
The way in which the calendar itself is displayed can be altered using
Display_Options.
The selected date can be retrieved from a Gtk_Calendar using Get_Date.
If performing many 'mark' operations, the calendar can be frozen to prevent
flicker, using Freeze, and 'thawed' again using Thaw.
Subprograms
-
procedure Gtk_New (Widget : out Gtk_Calendar);
-
procedure Initialize (Widget : access Gtk_Calendar_Record'Class);
-
-
function Select_Month
(Calendar : access Gtk_Calendar_Record;
Month : Guint;
Year : Guint) return Boolean;
-
procedure Select_Day
(Calendar : access Gtk_Calendar_Record;
Day : Guint);
-
function Mark_Day
(Calendar : access Gtk_Calendar_Record;
Day : Guint) return Boolean;
-
function Unmark_Day
(Calendar : access Gtk_Calendar_Record;
Day : Guint) return Boolean;
-
procedure Clear_Marks (Calendar : access Gtk_Calendar_Record);
-
procedure Get_Date
(Calendar : access Gtk_Calendar_Record;
Year : out Guint;
Month : out Guint;
Day : out Guint);
-
procedure Set_Display_Options
(Calendar : access Gtk_Calendar_Record;
Flags : Gtk_Calendar_Display_Options);
function Get_Display_Options
(Calendar : access Gtk_Calendar_Record)
return Gtk_Calendar_Display_Options;