.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::Calendar 3" .TH Gtk2::Calendar 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::Calendar \- wrapper for GtkCalendar .SH HIERARCHY .IX Header "HIERARCHY" .Vb 5 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Calendar .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH METHODS .IX Header "METHODS" .SS "widget = Gtk2::Calendar\->\fBnew\fP" .IX Subsection "widget = Gtk2::Calendar->new" .ie n .SS $calendar\->\fBclear_marks\fP .el .SS \f(CW$calendar\fP\->\fBclear_marks\fP .IX Subsection "$calendar->clear_marks" .ie n .SS "(year, month, day) = $calendar\->\fBget_date\fP" .el .SS "(year, month, day) = \f(CW$calendar\fP\->\fBget_date\fP" .IX Subsection "(year, month, day) = $calendar->get_date" .ie n .SS "$calendar\->\fBset_detail_func\fP ($func, $data=undef)" .el .SS "\f(CW$calendar\fP\->\fBset_detail_func\fP ($func, \f(CW$data\fP=undef)" .IX Subsection "$calendar->set_detail_func ($func, $data=undef)" .IP \(bu 4 \&\f(CW$func\fR (scalar) .IP \(bu 4 \&\f(CW$data\fR (scalar) .PP Since: gtk+ 2.14 .ie n .SS "integer = $calendar\->\fBget_detail_height_rows\fP" .el .SS "integer = \f(CW$calendar\fP\->\fBget_detail_height_rows\fP" .IX Subsection "integer = $calendar->get_detail_height_rows" Since: gtk+ 2.14 .ie n .SS "$calendar\->\fBset_detail_height_rows\fP ($rows)" .el .SS "\f(CW$calendar\fP\->\fBset_detail_height_rows\fP ($rows)" .IX Subsection "$calendar->set_detail_height_rows ($rows)" .IP \(bu 4 \&\f(CW$rows\fR (integer) .PP Since: gtk+ 2.14 .ie n .SS "integer = $calendar\->\fBget_detail_width_chars\fP" .el .SS "integer = \f(CW$calendar\fP\->\fBget_detail_width_chars\fP" .IX Subsection "integer = $calendar->get_detail_width_chars" Since: gtk+ 2.14 .ie n .SS "$calendar\->\fBset_detail_width_chars\fP ($chars)" .el .SS "\f(CW$calendar\fP\->\fBset_detail_width_chars\fP ($chars)" .IX Subsection "$calendar->set_detail_width_chars ($chars)" .IP \(bu 4 \&\f(CW$chars\fR (integer) .PP Since: gtk+ 2.14 .ie n .SS "$calendar\->\fBdisplay_options\fP ($flags)" .el .SS "\f(CW$calendar\fP\->\fBdisplay_options\fP ($flags)" .IX Subsection "$calendar->display_options ($flags)" .IP \(bu 4 \&\f(CW$flags\fR (Gtk2::CalendarDisplayOptions) .PP The old name for \f(CW\*(C`set_display_options\*(C'\fR. .ie n .SS "calendardisplayoptions = $calendar\->\fBget_display_options\fP" .el .SS "calendardisplayoptions = \f(CW$calendar\fP\->\fBget_display_options\fP" .IX Subsection "calendardisplayoptions = $calendar->get_display_options" .ie n .SS "$calendar\->\fBset_display_options\fP ($flags)" .el .SS "\f(CW$calendar\fP\->\fBset_display_options\fP ($flags)" .IX Subsection "$calendar->set_display_options ($flags)" .IP \(bu 4 \&\f(CW$flags\fR (Gtk2::CalendarDisplayOptions) .ie n .SS $calendar\->\fBfreeze\fP .el .SS \f(CW$calendar\fP\->\fBfreeze\fP .IX Subsection "$calendar->freeze" .ie n .SS "boolean = $calendar\->\fBmark_day\fP ($day)" .el .SS "boolean = \f(CW$calendar\fP\->\fBmark_day\fP ($day)" .IX Subsection "boolean = $calendar->mark_day ($day)" .IP \(bu 4 \&\f(CW$day\fR (integer) .ie n .SS "$widget\->\fBmarked_date\fP ($value)" .el .SS "\f(CW$widget\fP\->\fBmarked_date\fP ($value)" .IX Subsection "$widget->marked_date ($value)" .ie n .SS "value = $widget\->\fBmarked_date\fP" .el .SS "value = \f(CW$widget\fP\->\fBmarked_date\fP" .IX Subsection "value = $widget->marked_date" .ie n .SS "$widget\->\fBmonth\fP ($value)" .el .SS "\f(CW$widget\fP\->\fBmonth\fP ($value)" .IX Subsection "$widget->month ($value)" .ie n .SS "value = $widget\->\fBmonth\fP" .el .SS "value = \f(CW$widget\fP\->\fBmonth\fP" .IX Subsection "value = $widget->month" .ie n .SS "$widget\->\fBnum_marked_dates\fP ($value)" .el .SS "\f(CW$widget\fP\->\fBnum_marked_dates\fP ($value)" .IX Subsection "$widget->num_marked_dates ($value)" .ie n .SS "value = $widget\->\fBnum_marked_dates\fP" .el .SS "value = \f(CW$widget\fP\->\fBnum_marked_dates\fP" .IX Subsection "value = $widget->num_marked_dates" .ie n .SS "$calendar\->\fBselect_day\fP ($day)" .el .SS "\f(CW$calendar\fP\->\fBselect_day\fP ($day)" .IX Subsection "$calendar->select_day ($day)" .IP \(bu 4 \&\f(CW$day\fR (integer) .ie n .SS "boolean = $calendar\->\fBselect_month\fP ($month, $year)" .el .SS "boolean = \f(CW$calendar\fP\->\fBselect_month\fP ($month, \f(CW$year\fP)" .IX Subsection "boolean = $calendar->select_month ($month, $year)" .IP \(bu 4 \&\f(CW$month\fR (integer) .IP \(bu 4 \&\f(CW$year\fR (integer) .ie n .SS "$widget\->\fBselected_day\fP ($value)" .el .SS "\f(CW$widget\fP\->\fBselected_day\fP ($value)" .IX Subsection "$widget->selected_day ($value)" .ie n .SS "value = $widget\->\fBselected_day\fP" .el .SS "value = \f(CW$widget\fP\->\fBselected_day\fP" .IX Subsection "value = $widget->selected_day" .ie n .SS $calendar\->\fBthaw\fP .el .SS \f(CW$calendar\fP\->\fBthaw\fP .IX Subsection "$calendar->thaw" .ie n .SS "boolean = $calendar\->\fBunmark_day\fP ($day)" .el .SS "boolean = \f(CW$calendar\fP\->\fBunmark_day\fP ($day)" .IX Subsection "boolean = $calendar->unmark_day ($day)" .IP \(bu 4 \&\f(CW$day\fR (integer) .ie n .SS "$widget\->\fByear\fP ($value)" .el .SS "\f(CW$widget\fP\->\fByear\fP ($value)" .IX Subsection "$widget->year ($value)" .ie n .SS "value = $widget\->\fByear\fP" .el .SS "value = \f(CW$widget\fP\->\fByear\fP" .IX Subsection "value = $widget->year" .SH PROPERTIES .IX Header "PROPERTIES" .IP "'day' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'day' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" The selected day (as a number between 1 and 31, or 0 to unselect the currently selected day) .IP "'detail\-height\-rows' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'detail-height-rows' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" Details height in rows .IP "'detail\-width\-chars' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'detail-width-chars' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" Details width in characters .IP "'month' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'month' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" The selected month (as a number between 0 and 11) .IP "'no\-month\-change' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'no-month-change' (boolean : default false : readable / writable / private / static-nick / static-blurb)" If TRUE, the selected month cannot be changed .IP "'show\-day\-names' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'show-day-names' (boolean : default true : readable / writable / private / static-nick / static-blurb)" If TRUE, day names are displayed .IP "'show\-details' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'show-details' (boolean : default true : readable / writable / private / static-nick / static-blurb)" If TRUE, details are shown .IP "'show\-heading' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'show-heading' (boolean : default true : readable / writable / private / static-nick / static-blurb)" If TRUE, a heading is displayed .IP "'show\-week\-numbers' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'show-week-numbers' (boolean : default false : readable / writable / private / static-nick / static-blurb)" If TRUE, week numbers are displayed .IP "'year' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'year' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" The selected year .SH "STYLE PROPERTIES" .IX Header "STYLE PROPERTIES" .IP "'horizontal\-separation' (integer : default 4 : readable / private / static-nick / static-blurb)" 4 .IX Item "'horizontal-separation' (integer : default 4 : readable / private / static-nick / static-blurb)" Space between week headers and main area .IP "'inner\-border' (integer : default 4 : readable / private / static-nick / static-blurb)" 4 .IX Item "'inner-border' (integer : default 4 : readable / private / static-nick / static-blurb)" Inner border space .IP "'vertical\-separation' (integer : default 4 : readable / private / static-nick / static-blurb)" 4 .IX Item "'vertical-separation' (integer : default 4 : readable / private / static-nick / static-blurb)" Space between day headers and main area .SH SIGNALS .IX Header "SIGNALS" .IP "\fBday-selected\fR (Gtk2::Calendar)" 4 .IX Item "day-selected (Gtk2::Calendar)" .PD 0 .IP "\fBday-selected-double-click\fR (Gtk2::Calendar)" 4 .IX Item "day-selected-double-click (Gtk2::Calendar)" .IP "\fBmonth-changed\fR (Gtk2::Calendar)" 4 .IX Item "month-changed (Gtk2::Calendar)" .IP "\fBnext-month\fR (Gtk2::Calendar)" 4 .IX Item "next-month (Gtk2::Calendar)" .IP "\fBnext-year\fR (Gtk2::Calendar)" 4 .IX Item "next-year (Gtk2::Calendar)" .IP "\fBprev-month\fR (Gtk2::Calendar)" 4 .IX Item "prev-month (Gtk2::Calendar)" .IP "\fBprev-year\fR (Gtk2::Calendar)" 4 .IX Item "prev-year (Gtk2::Calendar)" .PD .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "flags Gtk2::CalendarDisplayOptions" .IX Subsection "flags Gtk2::CalendarDisplayOptions" .IP \(bu 4 \&'show\-heading' / 'GTK_CALENDAR_SHOW_HEADING' .IP \(bu 4 \&'show\-day\-names' / 'GTK_CALENDAR_SHOW_DAY_NAMES' .IP \(bu 4 \&'no\-month\-change' / 'GTK_CALENDAR_NO_MONTH_CHANGE' .IP \(bu 4 \&'show\-week\-numbers' / 'GTK_CALENDAR_SHOW_WEEK_NUMBERS' .IP \(bu 4 \&'week\-start\-monday' / 'GTK_CALENDAR_WEEK_START_MONDAY' .IP \(bu 4 \&'show\-details' / 'GTK_CALENDAR_SHOW_DETAILS' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.