Gtk2::G...yManager(3)

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

πŸ’– 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:

  • Gtk2
  • Glib::Object

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