Gtk2::R...oserMenu(3)

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

πŸ’– Gtk2::RecentChooserMenu β€” the whole vibe πŸ’–

okay so bestie, this is Gtk2::RecentChooserMenu, a wrapper for GtkRecentChooserMenu πŸ’… it lives in the User Contributed Perl Documentation section of your man pages, so you already know it's giving "someone in the perl community lovingly wrote this down for us" energy 🫢


🌸 HIERARCHY 🌸

the family tree, and yes we're respecting our elders ✨ it goes all the way up like this:

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::MenuShell
                         +----Gtk2::Menu
                              +----Gtk2::RecentChooserMenu

so it's a Menu, which is a MenuShell, which is a Container, which is a Widget, which is a Gtk2::Object, which is a Glib::InitiallyUnowned, which is a Glib::Object. seven layers of ancestry, main character lineage fr fr πŸ‘‘


πŸ¦‹ INTERFACES πŸ¦‹

these are the interfaces it implements, aka the extracurriculars on its college application πŸ’œ

  • Glib::Object::_Unregistered::AtkImplementorIface
  • Gtk2::Buildable
  • Gtk2::RecentChooser
  • Gtk2::Activatable

✨ METHODS ✨

πŸŽ€ making one

widget = Gtk2::RecentChooserMenu->new

just make a fresh one, no manager specified, we're keeping it simple bestie 🌈

widget = Gtk2::RecentChooserMenu->new_for_manager ($manager)

make one that's tied to a specific manager πŸ’«

  • $manager (Gtk2::RecentManager) β€” the manager you want it hooked up to

πŸŽ€ the show-numbers situation

boolean = $menu->get_show_numbers

getter and setter, the iconic duo 🫢

  • $show_numbers (boolean) β€” true or false, that's it, that's the whole argument

πŸ’… PROPERTIES πŸ’…

one property, and it's a whole personality trait:

  • 'show-numbers' (boolean : default false : readable / writable / private / static-nick / static-blurb) β€” whether the items should be displayed with a number πŸ‘€

like, do you want them numbered or not. that's the question. default is no, because minimalism, but you can absolutely turn it on and let them be numbered icons πŸ”₯


🌈 SEE ALSO 🌈

go read these too, they're all connected, it's a whole friend group πŸ’•

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::MenuShell, Gtk2::Menu


Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice. πŸ“œ


and that's the whole page bestie, no notes, we ate πŸ’…βœ¨

perl v5.42.0 Β· 2025-07-25 Β· that's the version and date stamp, mwah, go forth and build menus πŸ¦‹πŸ’–πŸŽ€

πŸ“¦ where this page comes from