Gtk2::Invisible(3)
π Gtk2::Invisible π
okay bestie, gather round, because this one is literally the main character of not being seen. Gtk2::Invisible is the Perl wrapper for GtkInvisible, and no, it's not a personality trait, it's a whole widget that exists on your screen without ever being drawn on it. iconic behaviour honestly. π«₯β¨
This page lives in the User Contributed Perl Documentation collection, and it's filed under manual page Gtk2::Invisible(3) in case you were wondering where to find it again. π
πΈ HIERARCHY πΈ
the family tree, and yes she has ancestors, everyone does:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Invisible
likeβ¦ she's a Gtk2::Widget at the end of the day. a widget that said "no thank you" to being visible. we love a boundary. π
π¦ INTERFACES π¦
she also implements these, so she can do the things they promise:
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
β¨ METHODS β¨
π widget = Gtk2::Invisible->new
makes you a brand new invisible widget. fresh out the box, zero visual presence, 100% vibes. π§
π widget = Gtk2::Invisible->new_for_screen ($screen)
same energy as new, except you get to pick which screen she haunts. π»
$screenβ aGtk2::Gdk::Screen, that's the one you want her on
Since: gtk+ 2.2 β so like, she's been around, no cap.
β screen = $invisible->get_screen
hands you back the Gtk2::Gdk::Screen she's currently attached to. lowkey the most useful thing here.
Since: gtk+ 2.2
π $invisible->set_screen ($screen)
tells her to move to a different screen. girl math: new screen, same invisibility. π«Ά
$screenβ aGtk2::Gdk::Screen
Since: gtk+ 2.2
π PROPERTIES π
'screen'(Gtk2::Gdk::Screen: default undef : readable / writable / private / static-nick / static-blurb) β The screen where this window will be displayed
note the default undef, so if you don't set it, it's justβ¦ vibes and void. π
π SEE ALSO π
go read these next, fr fr, they're the whole friend group:
Gtk2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::Widget
π 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 was perl v5.42.0, dated 2025-07-25, manual page Gtk2::Invisible(3) β slay, ate, no crumbs left. go forth and be invisible (as a widget, not as a person, please hydrate). π
πβ¨
π¦ 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