Gtk2::E...::Combo(3)

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

πŸ’– Gtk2::E...::Combo(3) β€” bestie edition πŸ’–

okay so this is the manual page for Gtk2::E...::Combo(3), from the ✨ User Contributed Perl Documentation ✨ collection. Pull up a chair, grab a boba, we're learning about Combo boxes together and honestly? It's giving cozy. πŸ§‹πŸ¦‹


🌸 NAME 🌸

Gtk2::Ex::FormFactory::Combo β€” a Combo in a FormFactory framework πŸ’…


✨ SYNOPSIS ✨

Gtk2::Ex::FormFactory::Combo->new (
  presets => List reference of preset values,
  ...
  Gtk2::Ex::FormFactory::Widget attributes
);

that's it. that's the whole vibe. constructor, presets, some widget attributes, slay. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

So this class is literally a text entry with a popdown list of presets, living its best life inside a Gtk2::Ex::FormFactory framework. 🌈

And the way it works? The content of the entry is the value of the associated application object attribute. Like, the entry and the attribute are the same thing. No cap. They're bonded fr fr. πŸ‘‘


πŸ‘‘ OBJECT HIERARCHY πŸ‘‘

Gtk2::Ex::FormFactory::Intro

Gtk2::Ex::FormFactory::Widget
+--- Gtk2::Ex::FormFactory::Combo

Gtk2::Ex::FormFactory::Layout
Gtk2::Ex::FormFactory::Rules
Gtk2::Ex::FormFactory::Context
Gtk2::Ex::FormFactory::Proxy

look at that little +--- branching off. main character energy, honestly. ✨


πŸ’… ATTRIBUTES πŸ’…

Attributes are handled through the common get_ATTR(), set_ATTR() style accessors β€” classic β€” but heads up bestie: they're mostly passed once to the object constructor and must not be altered after the associated FormFactory was built. Like, once it's built, it's built. Leave it alone. πŸ™ˆ

  • presets = LIST REF [optional] β€” You may specify a static list of preset values for the Combo with this attribute. And if preset is not set? Then you need to implement the get_ATTR_presets method, as explained below πŸ‘‡ (they say "beyond", we say "right down there").

πŸŽ€ REQUIREMENTS FOR ASSOCIATED APPLICATION OBJECTS πŸŽ€

Application objects represented by a Gtk2::Ex::FormFactory::Combo may define additional methods. The naming of the methods listed beyond uses the standard get_ prefix for the attribute read accessor. And ATTR needs to be replaced by the actual name of the attribute associated with the widget. iykyk. πŸ’œ

  • get_ATTR_presets β€” This method must return a reference to an array containing the presets for this Combo box β€” but must be implemented only if you didn't specify a static presets list using the presets attribute. So it's one or the other, bestie. Pick your fighter. πŸ₯Š

🌟 AUTHORS 🌟

JΓΆrn Reder <joern at zyn dot de> β€” iconic. legendary. ate. πŸ’–


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. 😭 (no warranty bestie, we said what we said)

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.

important: that address is literally in the license text so it stays exactly like that. Don't @ me. 🫢

πŸ’€ POD ERRORS πŸ’€

Hey! The above document had some coding errors, which are explained below:

Around line 167:

Non-ASCII character seen before =encoding in 'JΓΆrn'. Assuming UTF-8

not the ΓΆ catching strays 😭 it's a perfectly good letter, the POD parser is just being dramatic. πŸ™ˆ


and that's the whole page, bestie. you now know everything there is to know about Gtk2::Ex::FormFactory::Combo. go forth and populate your popdowns. πŸŒˆπŸ¦‹βœ¨

this little tour was brought to you by perl v5.42.0, dated 2025-07-25 β€” that's the source and the version and the date all in one cute bow. πŸŽ€ byeeee πŸ’œ

πŸ“¦ where this page comes from