Gtk2::R...erDialog(3)
π NAME π
Gtk2::RecentChooserDialog β bestie, it's literally just a lil wrapper around GtkRecentChooserDialog. That's the whole vibe. π
This page is chillin' in the Gtk2::R...erDialog(3) spot of the perl docs, and it's your one-stop shop for making a dialog that lets your user pick from their recently-used stuff. Obsessed. β¨
π HIERARCHY π
okay so this is the family tree and yes, it is giving generational trauma, but like, in a struct way:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Window
+----Gtk2::Dialog
+----Gtk2::RecentChooserDialog
every single one of those ancestors is real and they all had to sign off on this, periodt. π
π¦ INTERFACES π¦
the personality traits it inherited (no cap):
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::RecentChooser
πΈ METHODS πΈ
β¨ widget = Gtk2::RecentChooserDialog->new ($title, $parent, ...) β¨
the classic constructor, main character energy fr fr. here's what you're feeding it:
$title(string) β the name of the dialog, like its little name tag π·οΈ$parent(Gtk2::Windoworundef) β who its parent is, or literallyundefif it's a free spirit ποΈ...(list) β a list of button-text => response-id pairs. yes, pairs. text then id, text then id, like a lil friendship bracelet. π₯
β¨ widget = Gtk2::RecentChooserDialog->new_for_manager ($title, $parent, $manager, ...) β¨
same energy, but this time you're bringing your own manager to the party:
$title(string) β dialog title, iconic as always π$parent(Gtk2::Windoworundef) β the parent window, orundeffor the orphan arc π...(list) β list of button-text => response-id pairs, so your buttons know what to do when clicked π$manager(Gtk2::RecentManager) β the actual manager, the one holding all the recents π§
heads up bestie: the args are listed in that exact order in the docs, so don't come for me about $manager being last on the list β that's just how it's written. π«Ά
π SEE ALSO π
go read these next, they're all connected, iykyk:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::ContainerGtk2::BinGtk2::WindowGtk2::Dialog
π 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 cap, we ate. this was documented by perl v5.42.0 on 2025-07-25 under the Gtk2::R...erDialog(3) banner, and now you know everything it knows. slay, go build something cute. πβ¨π¦
π¦ 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