1Gtk2::Ex::CalendarButtoUns(e3r)Contributed Perl DocumentGattki2o:n:Ex::CalendarButton(3)
2
3
4
6 Gtk2::Ex::CalendarButton - I realized that I was constantly re-creating
7 a simple widget that will pop-up and Gtk2::Calendar when clicked. Just
8 like the datetime display on your desktop taskbar. This package is my
9 attempt to extract the portion of code required to create a
10 button-click-calender.
11
13 my $calbutton = Gtk2::Ex::CalendarButton->new([2007,3,14]);
14 my $window = Gtk2::Window->new;
15 $window->signal_connect(destroy => sub { Gtk2->main_quit; });
16 $window->add($calbutton->get_button);
17
19 A list of functions that can be exported. You can delete this section
20 if you don't export anything, such as for a purely object-oriented
21 module.
22
24 get_button
25 get_calendar
26 get_date
27 set_date
29 Ofey Aikon, "<ofey.aikon at gmail.com>"
30
32 Copyright 2007 Ofey Aikon, all rights reserved.
33
34 This program is free software; you can redistribute it and/or modify it
35 under the same terms as Perl itself.
36
37
38
39perl v5.28.0 2007-02-25 Gtk2::Ex::CalendarButton(3)