Gtk2::Gdk::X11(3)

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

πŸ’… 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 a Gtk2::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) β€” the Gtk2::Gdk::Window you 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 (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