Gtk2::R...oserMenu(3)
π 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::AtkImplementorIfaceGtk2::BuildableGtk2::RecentChooserGtk2::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
$menu->set_show_numbers ($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: defaultfalse: 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 π
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
- fedora 43: perl-Gtk2 1.24993-23.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms