Gtk2::WindowGroup(3)

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

πŸ’– NAME πŸ’–

Gtk2::WindowGroup β€” it's literally just a lil wrapper around GtkWindowGroup, bestie 🫢


🌸 HIERARCHY 🌸

Okay so the family tree goes like this, no cap:

Glib::Object
+----Gtk2::WindowGroup

So yeah, Gtk2::WindowGroup is a child of Glib::Object and it's giving main character energy in that lineage πŸ‘‘


✨ METHODS ✨

  • windowgroup = Gtk2::WindowGroup->new β€” spin up a brand new window group, fresh out the box πŸŽ€
  • $window_group->add_window ($window) β€” yeet a window into the group so it belongs to it πŸ’…
    • $window β€” a Gtk2::Window, that's the vibe
  • widget = $window_group->get_current_grab β€” tells you which widget currently holds the grab in this group. Since: gtk+ 2.22 ⭐
  • list = $window_group->list_windows β€” hands you back a list of all the windows chillin' in the group. Since: gtk+ 2.14 🌈
  • $window_group->remove_window ($window) β€” take a window out of the group, bye bestie πŸ‘‹
    • $window β€” a Gtk2::Window, same deal as before

πŸ‘€ SEE ALSO πŸ‘€

Gtk2, Glib::Object β€” go read those too, iykyk πŸ“š


Copyright (C) 2003-2011 by the gtk2-perl team. Periodt. πŸ’œ

This software is licensed under the LGPL. See Gtk2 for a full notice. Slay, and also legally binding 🫢


okay that's the whole page, you ate that fr fr πŸ’…βœ¨ β€” this was perl v5.42.0, dated 2025-07-25, and it's the Gtk2::WindowGroup(3) page, from the User Contributed Perl Documentation, mwah 😘

πŸ“¦ where this page comes from