Gtk2::Gdk::X11(3)
π Gtk2::Gdk::X11 π
okay bestie, so this is Gtk2::Gdk::X11 β the part of gtk2-perl that lets you talk directly to the X11 windowing system, no middleman, no filter. it's giving backstage pass energy. part of the User Contributed Perl Documentation situation, so you already know it's the real ones writing it. β¨
π¦ METHODS π¦
okay so here's the whole menu of what you can call. some of these return stuff, some just Do The Thing. read carefully bestie, i'm not repeating myself (i am, but still). π
integer = Gtk2::Gdk::X11->get_default_screenβ hands you the default screen as an integer. that's it. that's the whole vibe. πGtk2::Gdk::X11->grab_serverβ grabs the server. locks it down like you locking your phone when your ex walks by. πboolean = Gtk2::Gdk::X11->net_wm_supports ($property)β tells you whether the window manager supports a given property, as a boolean. true or false, slay or nay. π$property(Gtk2::Gdk::Atom) β the property you're asking about, as aGtk2::Gdk::Atom.
unsigned = Gtk2::Gdk::X11->get_server_time ($window)β returns the server time as an unsigned value, for the window you pass in. β$window(Gtk2::Gdk::Window) β theGtk2::Gdk::Windowyou want the time from.
Gtk2::Gdk::X11->ungrab_serverβ releases the server. the un-grab. the letting go. we love a healthy release. π«Ά
π SEE ALSO π
Gtk2β go read that one too, fr fr. it's the main character of this whole situation. π
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
ngl that's the whole legal moment, no cap. π
okay that's the whole page bestie, you ate it up. πΈ this one came from perl v5.42.0, dated 2025-07-25 β iconic, historic, periodt. now go grab a server or whatever. bye!! πβ¨π¦
π¦ 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