Gtk2::Ex::CalendarButton - I realized that I was constantly re-creating a simple widget that will pop-up


Gtk2-Ex-CalendarButton documentation  | view source Contained in the Gtk2-Ex-CalendarButton distribution.

Index


NAME

Top

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

Top

        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

Top

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

Top

get_button

get_calendar

get_date

set_date

AUTHOR

Top

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

COPYRIGHT & LICENSE

Top


Gtk2-Ex-CalendarButton documentation  | view source Contained in the Gtk2-Ex-CalendarButton distribution.