Gtk2::SizeGroup(3)
π Gtk2::SizeGroup β bestie edition π
okay so real quick, this page is from the Gtk2::SizeGroup(3) manual, living under User Contributed Perl Documentation, and it's literally just a Perl wrapper for GtkSizeGroup. yes queen. let's get into it π«Ά
πΈ NAME πΈ
Gtk2::SizeGroup β it's a wrapper for GtkSizeGroup, that's the whole vibe π
π¦ HIERARCHY π¦
the family tree, and she is not the root:
Glib::Object
+----Gtk2::SizeGroup
β¨ INTERFACES β¨
she also does this:
Gtk2::Buildable
π METHODS π
sizegroup = Gtk2::SizeGroup->new ($mode)
make a brand new one, bestie β¨
$mode(Gtk2::SizeGroupMode) β the mode, obviously. you'll meet it again below.
$size_group->add_widget ($widget)
yeet a widget into the group so she gets sized along with everyone else π«Ά
$widget(Gtk2::Widget)
boolean = $size_group->get_ignore_hidden
does she ignore the hidden girlies? find out π
Since: gtk+ 2.8
$size_group->set_ignore_hidden ($ignore_hidden)
set whether hidden widgets get ignored, no cap
$ignore_hidden(boolean)
Since: gtk+ 2.8
sizegroupmode = $size_group->get_mode
$size_group->set_mode ($mode)
get it or set it, your call π
$mode(Gtk2::SizeGroupMode)
$size_group->remove_widget ($widget)
okay she's out, take her out of the group π
$widget(Gtk2::Widget)
list = $size_group->get_widgets
gimme the list of everyone in the group, fr fr π
Since: gtk+ 2.10
π PROPERTIES π
'ignore-hidden'(boolean : default false : readable / writable / private / static-nick / static-blurb) β ifTRUE, unmapped widgets are ignored when determining the size of the group. iconic behaviour, honestly.'mode'(Gtk2::SizeGroupMode : default"horizontal": readable / writable / private / static-nick / static-blurb) β the directions in which the size group affects the requested sizes of its component widgets. directions, bestie. she's got range π
π ENUMS AND FLAGS π
enum Gtk2::SizeGroupMode
pick your fighter:
'none'/GTK_SIZE_GROUP_NONE'horizontal'/GTK_SIZE_GROUP_HORIZONTAL'vertical'/GTK_SIZE_GROUP_VERTICAL'both'/GTK_SIZE_GROUP_BOTH
π₯ SEE ALSO π₯
Gtk2, Glib::Object β go read those too, iykyk π
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
and that's the whole page, bestie!! πβ¨ this was documented with perl v5.42.0 on 2025-07-25 under the User Contributed Perl Documentation banner. slay, go size some widgets π
π¦
π¦ 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