=head1 NAME

Gtk2::Calendar

=head1 HIERARCHY

  Glib::Object
  +----Gtk2::Object
        +----Gtk2::Widget
              +----Gtk2::Calendar

=head1 INTERFACES

  Gtk2::Atk::ImplementorIface


=head1 METHODS

=head2 widget = Gtk2::Calendar-E<gt>B<new> 

=over

=back

=head2 $calendar-E<gt>B<clear_marks> 

=over

=back

=head2 (year, month, day) = $calendar-E<gt>B<get_date> 

=over

=back

=head2 $calendar-E<gt>B<display_options> ($flags)

=over

=over

=item * $flags (Gtk2::CalendarDisplayOptions) 

=back

The old name for C<set_display_options>.

=back

=head2 calendardisplayoptions = $calendar-E<gt>B<get_display_options> 

=over

=back

=head2 $calendar-E<gt>B<set_display_options> ($flags)

=over

=over

=item * $flags (Gtk2::CalendarDisplayOptions) 

=back

=back

=head2 $calendar-E<gt>B<freeze> 

=over

=back

=head2 boolean = $calendar-E<gt>B<mark_day> ($day)

=over

=over

=item * $day (integer) 

=back

=back

=head2 $widget->B<marked_date> ($value)

=head2 value = $widget->B<marked_date>

=over



=back

=head2 $widget->B<month> ($value)

=head2 value = $widget->B<month>

=over



=back

=head2 $widget->B<num_marked_dates> ($value)

=head2 value = $widget->B<num_marked_dates>

=over



=back

=head2 $calendar-E<gt>B<select_day> ($day)

=over

=over

=item * $day (integer) 

=back

=back

=head2 boolean = $calendar-E<gt>B<select_month> ($month, $year)

=over

=over

=item * $month (integer) 

=item * $year (integer) 

=back

=back

=head2 $widget->B<selected_day> ($value)

=head2 value = $widget->B<selected_day>

=over



=back

=head2 $calendar-E<gt>B<thaw> 

=over

=back

=head2 boolean = $calendar-E<gt>B<unmark_day> ($day)

=over

=over

=item * $day (integer) 

=back

=back

=head2 $widget->B<year> ($value)

=head2 value = $widget->B<year>

=over



=back


=head1 PROPERTIES

=over

=item 'day' (integer : readable / writable)

The selected day (as a number between 1 and 31, or 0 to unselect the currently selected day)

=item 'month' (integer : readable / writable)

The selected month (as a number between 0 and 11)

=item 'no-month-change' (boolean : readable / writable)

If TRUE, the selected month cannot be changed

=item 'show-day-names' (boolean : readable / writable)

If TRUE, day names are displayed

=item 'show-heading' (boolean : readable / writable)

If TRUE, a heading is displayed

=item 'show-week-numbers' (boolean : readable / writable)

If TRUE, week numbers are displayed

=item 'year' (integer : readable / writable)

The selected year

=back


=head1 SIGNALS

=over

=item B<month-changed> (Gtk2::Calendar)

=item B<day-selected> (Gtk2::Calendar)

=item B<day-selected-double-click> (Gtk2::Calendar)

=item B<prev-month> (Gtk2::Calendar)

=item B<next-month> (Gtk2::Calendar)

=item B<prev-year> (Gtk2::Calendar)

=item B<next-year> (Gtk2::Calendar)

=back


=head1 ENUMS AND FLAGS

=head2 flags Gtk2::CalendarDisplayOptions

=over

=item * 'show-heading' / 'GTK_CALENDAR_SHOW_HEADING'

=item * 'show-day-names' / 'GTK_CALENDAR_SHOW_DAY_NAMES'

=item * 'no-month-change' / 'GTK_CALENDAR_NO_MONTH_CHANGE'

=item * 'show-week-numbers' / 'GTK_CALENDAR_SHOW_WEEK_NUMBERS'

=item * 'week-start-monday' / 'GTK_CALENDAR_WEEK_START_MONDAY'

=back


=head2 flags Gtk2::Gdk::EventMask

=over

=item * 'exposure-mask' / 'GDK_EXPOSURE_MASK'

=item * 'pointer-motion-mask' / 'GDK_POINTER_MOTION_MASK'

=item * 'pointer-motion-hint-mask' / 'GDK_POINTER_MOTION_HINT_MASK'

=item * 'button-motion-mask' / 'GDK_BUTTON_MOTION_MASK'

=item * 'button1-motion-mask' / 'GDK_BUTTON1_MOTION_MASK'

=item * 'button2-motion-mask' / 'GDK_BUTTON2_MOTION_MASK'

=item * 'button3-motion-mask' / 'GDK_BUTTON3_MOTION_MASK'

=item * 'button-press-mask' / 'GDK_BUTTON_PRESS_MASK'

=item * 'button-release-mask' / 'GDK_BUTTON_RELEASE_MASK'

=item * 'key-press-mask' / 'GDK_KEY_PRESS_MASK'

=item * 'key-release-mask' / 'GDK_KEY_RELEASE_MASK'

=item * 'enter-notify-mask' / 'GDK_ENTER_NOTIFY_MASK'

=item * 'leave-notify-mask' / 'GDK_LEAVE_NOTIFY_MASK'

=item * 'focus-change-mask' / 'GDK_FOCUS_CHANGE_MASK'

=item * 'structure-mask' / 'GDK_STRUCTURE_MASK'

=item * 'property-change-mask' / 'GDK_PROPERTY_CHANGE_MASK'

=item * 'visibility-notify-mask' / 'GDK_VISIBILITY_NOTIFY_MASK'

=item * 'proximity-in-mask' / 'GDK_PROXIMITY_IN_MASK'

=item * 'proximity-out-mask' / 'GDK_PROXIMITY_OUT_MASK'

=item * 'substructure-mask' / 'GDK_SUBSTRUCTURE_MASK'

=item * 'scroll-mask' / 'GDK_SCROLL_MASK'

=item * 'all-events-mask' / 'GDK_ALL_EVENTS_MASK'

=back



=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>, L<Gtk2::Object>, L<Gtk2::Widget>

=head1 COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gtk2> for a full notice.


=cut

