Gtk2::G...yManager(3)
π Gtk2::Gdk::DisplayManager β bestie edition π
okay so this is the manual page for Gtk2::Gdk::DisplayManager, part of the User Contributed Perl Documentation collection. no cap, it's a tiny page and you're gonna eat it up. β¨
πΈ NAME πΈ
Gtk2::Gdk::DisplayManager β it's a wrapper for GdkDisplayManager, which is the whole vibe of "hey, who's in charge of all the displays around here?" π
π¦ HIERARCHY π¦
the family tree, and yes she has main character energy:
Glib::Object
+----Gtk2::Gdk::DisplayManager
so like, she's a Glib::Object at heart, but she leveled up into her own thing. iconic. π
β¨ METHODS β¨
π display = $display_manager->get_default_display
grab the default display. that's it, that's the method. π«Ά
Since: gtk+ 2.2
π $display_manager->set_default_display ($display)
set the default display, obviously. it takes:
$display(Gtk2::Gdk::Display) β the display you're crowning π
Since: gtk+ 2.2
π displaymanager = Gtk2::Gdk::DisplayManager->get
this one's a class method, so you call it on the class itself, not on an instance β look at the ->get up there, it's giving "just hand me the manager bestie". π
Since: gtk+ 2.2
π list = $display_manager->list_displays
returns a list of Gtk2::Gdk::Display's. plural. all of them. the whole squad. π
Since: gtk+ 2.2
π PROPERTIES π
'default-display'(Gtk2::Gdk::Display: default undef : readable / writable / private / static-nick / static-blurb) β this is the default display for GDK. it's readable, it's writable, it's private, it's got a static nick and a static blurb. she's got range. π
π SIGNALS π
display-opened(Gtk2::Gdk::DisplayManager,Gtk2::Gdk::Display) β fires when a display opens up, and it hands you the manager and the display. π
π SEE ALSO π
go read these too, they're the supporting cast:
Gtk2Glib::Object
π 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!! this one's from perl v5.42.0, dated 2025-07-25. slay, go forth and manage those displays. πβ¨ππ¦
π¦ 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