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         Gtk2::Buildable
18

METHODS

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

PROPERTIES

82       'day' (integer : readable / writable / private)
83           The selected day (as a number between 1 and 31, or 0 to unselect
84           the currently selected day)
85
86       'detail-height-rows' (integer : readable / writable / private)
87           Details height in rows
88
89       'detail-width-chars' (integer : readable / writable / private)
90           Details width in characters
91
92       'month' (integer : readable / writable / private)
93           The selected month (as a number between 0 and 11)
94
95       'no-month-change' (boolean : readable / writable / private)
96           If TRUE, the selected month cannot be changed
97
98       'show-day-names' (boolean : readable / writable / private)
99           If TRUE, day names are displayed
100
101       'show-details' (boolean : readable / writable / private)
102           If TRUE, details are shown
103
104       'show-heading' (boolean : readable / writable / private)
105           If TRUE, a heading is displayed
106
107       'show-week-numbers' (boolean : readable / writable / private)
108           If TRUE, week numbers are displayed
109
110       'year' (integer : readable / writable / private)
111           The selected year
112

SIGNALS

114       month-changed (Gtk2::Calendar)
115       day-selected (Gtk2::Calendar)
116       day-selected-double-click (Gtk2::Calendar)
117       prev-month (Gtk2::Calendar)
118       next-month (Gtk2::Calendar)
119       prev-year (Gtk2::Calendar)
120       next-year (Gtk2::Calendar)
121

ENUMS AND FLAGS

123   flags Gtk2::CalendarDisplayOptions
124       ·   'show-heading' / 'GTK_CALENDAR_SHOW_HEADING'
125
126       ·   'show-day-names' / 'GTK_CALENDAR_SHOW_DAY_NAMES'
127
128       ·   'no-month-change' / 'GTK_CALENDAR_NO_MONTH_CHANGE'
129
130       ·   'show-week-numbers' / 'GTK_CALENDAR_SHOW_WEEK_NUMBERS'
131
132       ·   'week-start-monday' / 'GTK_CALENDAR_WEEK_START_MONDAY'
133
134       ·   'show-details' / 'GTK_CALENDAR_SHOW_DETAILS'
135

SEE ALSO

137       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
138
140       Copyright (C) 2003-2008 by the gtk2-perl team.
141
142       This software is licensed under the LGPL.  See Gtk2 for a full notice.
143
144
145
146perl v5.12.0                      2010-05-02                 Gtk2::Calendar(3)
Impressum