Gtk2::G...onfigure(3)

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

πŸ‘‘ 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 to 0.

⭐ integer = $event->x ($newvalue=0)

The x coordinate. Where you at horizontally, bestie πŸ‘€

  • $newvalue β€” an integer, defaults to 0.

πŸŽ€ integer = $event->y ($newvalue=0)

And the y coordinate, to complete the set 🧚

  • $newvalue β€” an integer, defaults to 0.
Heads up: each of these hands you back an integer, and the first one (height) is the odd one out β€” no =0 default 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 (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