Gtk2::E...rButton(3)
π Gtk2::E...rButton(3) π
okay so bestie, welcome to Gtk2::Ex::CalendarButton β and yeah, the header got chopped to Gtk2::E...rButton(3) because terminals are dramatic like that, but we know her real name. This is User Contributed Perl Documentation, so you already know it's giving community-crafted excellence. β¨
πΈ NAME πΈ
Gtk2::Ex::CalendarButton β so basically, the author was like, I keep re-creating the same little widget over and over, and it pops up a Gtk2::Calendar when you click it. Just like the datetime display on your desktop taskbar. Obsessed, honestly. This package is their attempt to extract the exact portion of code you need to build a button-click-calender. (Their spelling, not mine, we respect the original. π«Ά)
β¨ SYNOPSIS β¨
here's the whole vibe, copy it exactly bestie:
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);
look at her go. main character energy fr fr. π
π 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.
ngl bestie, this is literally what the docs say β it's the classic boilerplate note, so don't come for me, I'm just the messenger. π
π FUNCTIONS π
okay so here's the lineup, no cap:
π¦ get_button
π¦ get_calendar
π¦ get_date
π¦ set_date
and yes, that's genuinely the entire list as written β the original page keeps it minimal, so we keep it minimal too. iconic restraint β¨
π 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.
and that's the whole page, bestie! π tysm for reading, go build your little calendar button and slay. π
this masterpiece was brought to you by perl v5.42.0 on 2025-07-25 β yeah that's the source and the date, and yeah they're serving vintage-but-timeless, we love that for her. πβ¨π¦
π¦ where this page comes from
- fedora 43: perl-Gtk2-Ex-CalendarButton 0.01-51.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms