Gtk2::Fixed(3)
π Gtk2::Fixed β okay bestie, let's place some widgets π
So this is Gtk2::Fixed, a lil wrapper for GtkFixed, and it's sitting right here in the User Contributed Perl Documentation corner of your manual pages. It's the vibe where you get to say "this widget goes HERE, exact coordinates, no negotiations" β¨
π HIERARCHY π
Like, this is the family tree, and our girl is at the very bottom, glowing π
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Fixed
π¦ INTERFACES π¦
She also shows up wearing these fits:
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
β¨ METHODS β¨
widget = Gtk2::Fixed->newβ brand newGtk2::Fixed, freshly unboxed, main character energy, no notes πboolean = $fixed->get_has_windowβ tells you whether your fixed has its own window or not, true/false style π$fixed->set_has_window ($has_window)β sets that whole window situation:$has_window(boolean)
$fixed->move ($widget, $x, $y)β scooch a widget to a new spot, literally just move it:$widget(Gtk2::Widget)$x(integer)$y(integer)
$fixed->put ($widget, $x, $y)β drop a widget into the fixed at exact coords, like placing a sticker, no cap:$widget(Gtk2::Widget)$x(integer)$y(integer)
π CHILD PROPERTIES π
These are the properties each lil child widget gets, and yes they're giving very much "I live at these coordinates" π
'x'(integer : default 0 : readable / writable / private / static-nick / static-blurb)- X position of child widget
'y'(integer : default 0 : readable / writable / private / static-nick / static-blurb)- Y position of child widget
fr fr, default 0 for both β your widget starts chillin' at the origin unless you say otherwise π
π SEE ALSO π
Go read these too, they're the whole friend group:
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container
πΈ COPYRIGHT πΈ
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
okay that's the whole page, mwah π this was documented by the gtk2-perl girlies, running on perl v5.42.0, dated 2025-07-25, and it lives at Gtk2::Fixed(3). slay, go position something π«Ά
π¦ 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