Gtk2::G...onfigure(3)
π NAME π
Gtk2::Gdk::Event::Configure</p> β bestie, this is the event object that shows up when a window gets resized or moved around, and you're about to learn its whole deal π
Oh and real quick β this page lives in the User Contributed Perl Documentation manual, and if you ever see it listed in a header it gets squished down to Gtk2::G...onfigure(3) because apparently even man pages gotta abbreviate. iykyk π
π¦ HIERARCHY π¦
It's giving family tree, and our girl is at the bottom of it:
Gtk2::Gdk::Event
+----Gtk2::Gdk::Event::Configure
So like, everything a Gtk2::Gdk::Event can do? She inherits it. Main character energy but make it inheritance πΈ
β¨ METHODS β¨
π integer = $eventconfigure->height ($newvalue)
Grab the height, or set it, whatever the vibe is π«Ά
$newvalueβ an integer. That's the whole list, no default here, no cap.
π integer = $eventconfigure->width ($newvalue=0)
Same energy, but horizontal. The width, babes π
$newvalueβ an integer, and it defaults to0.
β integer = $event->x ($newvalue=0)
The x coordinate. Where you at horizontally, bestie π
$newvalueβ an integer, defaults to0.
π integer = $event->y ($newvalue=0)
And the y coordinate, to complete the set π§
$newvalueβ an integer, defaults to0.
Heads up: each of these hands you back aninteger, and the first one (height) is the odd one out β no=0default on that$newvalue. Keep it exact, don't go "fixing" it π
πΈ SEE ALSO πΈ
- Gtk2 β go read that one too, it's the parent situation π
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team. Periodt.
This software is licensed under the LGPL. See Gtk2 for a full notice. Read it, it's important, I'm not even joking π
Okay that's the whole page, you ate that π This was perl v5.42.0 dated 2025-07-25, and it's the Gtk2::G...onfigure(3) page, signing off β mwah, go resize something iconic πβ¨
π¦ 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