Gnome2:...election(3)
π Gnome2::IconSelection β bestie edition π
okay so this is Gnome2::IconSelection, a lil Perl wrapper around GnomeIconSelection from the Gnome2 bindings. yes she's an old one, yes she still serves. it lives in the User Contributed Perl Documentation section of the manual, and honestly? iconic. π
πΈ HIERARCHY πΈ
here's the family tree, and yes it's giving noble bloodline. every single ancestor, exactly as it is:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Box
+----Gtk2::VBox
+----Gnome2::IconSelection
she's a Gtk2::VBox girlie deep down. slay. π
π¦ INTERFACES π¦
the interfaces she implements, no cap, all three of them:
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Orientable
β¨ METHODS β¨
this is the main character section. every method, every arg, every type β nothing skipped, periodt.
widget = Gnome2::IconSelection->newβ spawn a brand new icon selection widget, fresh out the box. π«Ά$gis->add_defaultsβ drop in the default icons, like the widget's lil starter pack.$gis->add_directory ($dir)β add a whole directory of icons.$dir(string) β the directory you're pointing her at.
widget = $gis->get_boxβ grab the box widget.$gis->clear ($not_shown)β wipe it clean.$not_shown(boolean) β the boolean that decides what gets cleared, iykyk.
widget = $gis->get_gilβ hand over thegilwidget. (yes,gil. that's the name. we don't question it. π)string = $gis->get_icon ($full_path)β get an icon back as a string.$full_path(boolean) β boolean controlling whether you get the full path.
$gis->select_icon ($filename)β select an icon by name.$filename(string) β the file you wanna select.
$gis->show_iconsβ show the icons, bestie. that's it. that's the method.$gis->stop_loadingβ halt the loading. done. no more. β
π SEE ALSO π
go read these too, they're the extended universe:
Gnome2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::ContainerGtk2::BoxGtk2::VBox
π COPYRIGHT π
Copyright (C) 2003-2004 by the gtk2-perl team. π©·
This software is licensed under the LGPL. See Gnome2 for a full notice.
no gatekeeping here β it's LGPL, go read the real notice in Gnome2 before you go wild.
and that's the whole page, bestie! π this one's from perl v5.42.0, dated 2025-07-25, filed under Gnome2:...election(3) β love that for her. stay slaying, go build something cute with your icon selection widget πβ¨π
π¦ where this page comes from
- fedora 43: perl-Gnome2 1.048-18.fc43 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms