Gtk2::CheckButton(3)
β¨ NAME β¨
Gtk2::CheckButton β it's a wrapper for GtkCheckButton, bestie π
Like, okay, so it's the little ticky box. The one you click and it goes check. You already know the vibe. π
πΈ HIERARCHY πΈ
Okay so this is the whole family tree and yes she comes from a long line of distinguished ancestors, main character energy all the way down π
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Button
+----Gtk2::ToggleButton
+----Gtk2::CheckButton
Every single one of those is in the lineage, no skipping generations. Respect the bloodline. π
π¦ INTERFACES π¦
She also implements these, because she's multi-talented and we love that for her:
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::Activatable
β¨ METHODS β¨
Not me giving you three whole ways to make one. Because sometimes you have a label, sometimes you don't, and sometimes the label has a mnemonic in it. Slay. π
widget = Gtk2::CheckButton->new ($label=undef)
$label(string)
widget = Gtk2::CheckButton->new_with_label ($label=undef)
$label(string)
widget = Gtk2::CheckButton->new_with_mnemonic ($label=undef)
$label(string)
π STYLE PROPERTIES π
The aesthetic knobs, bestie. These are style properties so they come with a whole little vibe-description situation:
'indicator-size'(integer : default 13 : readable / private / static-nick / static-blurb) β Size of check or radio indicator π'indicator-spacing'(integer : default 2 : readable / private / static-nick / static-blurb) β Spacing around check or radio indicator πΈ
Okay so both of these say readable / private / static-nick / static-blurb. That's literally what the page says, I'm not editing it, periodt. π«Ά
π SEE ALSO π
Go read these too, they're all in the group chat:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::ContainerGtk2::BinGtk2::ButtonGtk2::ToggleButton
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice. π
okay that's the whole page, ily, go check a box πβ¨
This lil doc came out with perl v5.42.0, dated 2025-07-25, and yeah, it's Gtk2::CheckButton(3) β the check button page, in the flesh. π¦ tysm for reading, bestie π«Ά
π¦ where this page comes from
- fedora 43: perl-Gtk2 1.24993-23.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms