Gnome2:...election(3)

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

πŸ’– 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 the gil widget. (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:

  • Gnome2
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gtk2::Widget
  • Gtk2::Container
  • Gtk2::Box
  • Gtk2::VBox

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