Gtk2::Fixed(3)

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

πŸ’– 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 new Gtk2::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 (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