Gtk2::E...Expander(3)
π Gtk2::E...Expander(3) π
okay bestie, so this is Gtk2::Ex::FormFactory::Expander β it lives in the User Contributed Perl Documentation section of the manual, and it's genuinely one of those lil modules that just quietly slays. come sit with me π
β¨ NAME β¨
Gtk2::Ex::FormFactory::Expander β an Expander, but make it FormFactory framework energy π¦
πΈ SYNOPSIS πΈ
Gtk2::Ex::FormFactory::Expander->new (
...
Gtk2::Ex::FormFactory::Container attributes
Gtk2::Ex::FormFactory::Widget attributes
);
that's the whole vibe. you pass in the Container attributes and the Widget attributes and the ... is doing its little mysterious main-character thing π
π« DESCRIPTION π«
so this class implements an Expander inside a Gtk2::Ex::FormFactory framework. no cap, that's literally the job.
and here's the cute part: the expansion state isn't something you micromanage β it's controlled by the associated application object attribute, which should have a boolean value. so like, true/false, open/closed, expanded/collapsed. your app object is holding the remote control π«Ά
π§ OBJECT HIERARCHY π§
the family tree, and yes she's giving nobility:
Gtk2::Ex::FormFactory::Intro
Gtk2::Ex::FormFactory::Widget
+--- Gtk2::Ex::FormFactory::Container
+--- Gtk2::Ex::FormFactory::Expander
Gtk2::Ex::FormFactory::Layout
Gtk2::Ex::FormFactory::Rules
Gtk2::Ex::FormFactory::Context
Gtk2::Ex::FormFactory::Proxy
look at her, way down at the bottom of the Widget β Container β Expander line. iconic lineage fr fr π
π ATTRIBUTES π
so, tea time: this module has no additional attributes over the ones it inherits from Gtk2::Ex::FormFactory::Container. she's not out here inventing new ones. but there are some special notes that absolutely apply, so don't skip this part bestie π
content= ARRAYREF ofGtk2::Ex::FormFactory::Widget's [optional] β you may add only one child widget to this container. one. single. child. she is not sharing the spotlight, periodt.
π AUTHORS π
JΓΆrn Reder <joern at zyn dot de> β the legend behind all this π
π COPYRIGHT AND LICENSE π
Copyright 2004-2006 by JΓΆrn Reder.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.
okay so real talk: that "no warranty" bit is not a vibe-killer, it's just how free software rolls. read the license, bestie, it's giving legally binding π
π POD ERRORS π
not me having to report this, but the doc had some coding errors and here's the explanation:
Around line 107:
Non-ASCII character seen before =encoding in 'JΓΆrn'. Assuming UTF-8
so the parser clocked that little ΓΆ in JΓΆrn before it saw any =encoding declaration, and just went "eh, assuming UTF-8, we ball" πΈ honestly? relatable. the umlaut stays. the umlaut always stays.
and that's the whole page, babe β this was Gtk2::E...Expander(3) from perl v5.42.0, dated 2025-07-25. mwah π go expand something, you gorgeous genius π¦β¨
π¦ where this page comes from
- fedora 43: perl-Gtk2-Ex-FormFactory 0.67-39.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms