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 but‐
10 ton-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 mod‐
21 ule.
22
24 get_button
25
26 get_calendar
27
28 get_date
29
30 set_date
31
33 Ofey Aikon, "<ofey.aikon at gmail.com>"
34
36 Copyright 2007 Ofey Aikon, all rights reserved.
37
38 This program is free software; you can redistribute it and/or modify it
39 under the same terms as Perl itself.
40
41
42
43perl v5.8.8 2007-02-25 Gtk2::Ex::CalendarButton(3)