Gtk2::E...Expander(3)

πŸ“¦
version 0.67 Β· 2 versions
, in fedora 43

πŸ‘‘ 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 of Gtk2::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 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