1Gtk2::Calendar(3)     User Contributed Perl Documentation    Gtk2::Calendar(3)
2
3
4

NAME

6       Gtk2::Calendar
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Calendar
14

INTERFACES

16         Glib::Object::_Unregistered::AtkImplementorIface
17

METHODS

19       widget = Gtk2::Calendar->new
20
21       $calendar->clear_marks
22
23       (year, month, day) = $calendar->get_date
24
25       $calendar->display_options ($flags)
26
27           * $flags (Gtk2::CalendarDisplayOptions)
28
29           The old name for "set_display_options".
30
31       calendardisplayoptions = $calendar->get_display_options
32
33       $calendar->set_display_options ($flags)
34
35           * $flags (Gtk2::CalendarDisplayOptions)
36
37       $calendar->freeze
38
39       boolean = $calendar->mark_day ($day)
40
41           * $day (integer)
42
43       $widget->marked_date ($value)
44
45       value = $widget->marked_date
46
47       $widget->month ($value)
48
49       value = $widget->month
50
51       $widget->num_marked_dates ($value)
52
53       value = $widget->num_marked_dates
54
55       $calendar->select_day ($day)
56
57           * $day (integer)
58
59       boolean = $calendar->select_month ($month, $year)
60
61           * $month (integer)
62           * $year (integer)
63
64       $widget->selected_day ($value)
65
66       value = $widget->selected_day
67
68       $calendar->thaw
69
70       boolean = $calendar->unmark_day ($day)
71
72           * $day (integer)
73
74       $widget->year ($value)
75
76       value = $widget->year
77

PROPERTIES

79       'day' (integer : readable / writable / private)
80           The selected day (as a number between 1 and 31, or 0 to unselect
81           the currently selected day)
82
83       'month' (integer : readable / writable / private)
84           The selected month (as a number between 0 and 11)
85
86       'no-month-change' (boolean : readable / writable / private)
87           If TRUE, the selected month cannot be changed
88
89       'show-day-names' (boolean : readable / writable / private)
90           If TRUE, day names are displayed
91
92       'show-heading' (boolean : readable / writable / private)
93           If TRUE, a heading is displayed
94
95       'show-week-numbers' (boolean : readable / writable / private)
96           If TRUE, week numbers are displayed
97
98       'year' (integer : readable / writable / private)
99           The selected year
100

SIGNALS

102       month-changed (Gtk2::Calendar)
103       day-selected (Gtk2::Calendar)
104       day-selected-double-click (Gtk2::Calendar)
105       prev-month (Gtk2::Calendar)
106       next-month (Gtk2::Calendar)
107       prev-year (Gtk2::Calendar)
108       next-year (Gtk2::Calendar)
109

ENUMS AND FLAGS

111       flags Gtk2::CalendarDisplayOptions
112
113       * 'show-heading' / 'GTK_CALENDAR_SHOW_HEADING'
114       * 'show-day-names' / 'GTK_CALENDAR_SHOW_DAY_NAMES'
115       * 'no-month-change' / 'GTK_CALENDAR_NO_MONTH_CHANGE'
116       * 'show-week-numbers' / 'GTK_CALENDAR_SHOW_WEEK_NUMBERS'
117       * 'week-start-monday' / 'GTK_CALENDAR_WEEK_START_MONDAY'
118

SEE ALSO

120       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
121
123       Copyright (C) 2003-2007 by the gtk2-perl team.
124
125       This software is licensed under the LGPL.  See Gtk2 for a full notice.
126
127
128
129perl v5.8.8                       2007-03-18                 Gtk2::Calendar(3)
Impressum