NAME

Gtk2::Ex::CalendarButton - I realized that I was constantly re-creating a simple widget that will pop-up and Gtk2::Calendar when clicked. Just like the datetime display on your desktop taskbar. This package is my attempt to extract the portion of code required to create a button-click-calender.

SYNOPSIS

my $calbutton = Gtk2::Ex::CalendarButton->new([2007,3,14]);
my $window = Gtk2::Window->new;
$window->signal_connect(destroy => sub { Gtk2->main_quit; });
$window->add($calbutton->get_button);

EXPORT

A list of functions that can be exported. You can delete this section if you don't export anything, such as for a purely object-oriented module.

FUNCTIONS

get_button

get_calendar

get_date

set_date

AUTHOR

Ofey Aikon, <ofey.aikon at gmail.com>

COPYRIGHT & LICENSE

Copyright 2007 Ofey Aikon, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.