Gtk2::G...Geometry(3)
NAME π
okay bestie, welcome to the manual for Gtk2::G...Geometry(3) β it's User Contributed Perl Documentation energy, and the actual package in the NAME section is Gtk2::Gdk::Geometry. it's giving geometry, it's giving Gdk, and we're gonna get through every single method together. no skips. π«Ά
METHODS β¨
here's the full roster, queen. every signature stays exactly as written.
geometry = Gtk2::Gdk::Geometry->newβ makes a new geometry object, slay.scalar = $object->base_height ($newvalue=undef)β thebase_heightone, with optional$newvalue.$newvalue(scalar)
scalar = $object->base_width ($newvalue=undef)β thebase_widthone, with optional$newvalue.$newvalue(scalar)
constrain_sizeβ two call styles, both returning(new_width, new_height).
(new_width, new_height) = $geometry->constrain_size ($width, $height)
(new_width, new_height) = $geometry->constrain_size ($flags, $width,
$height)
... (list)$flags (Gtk2::Gdk::WindowHints) optional, usually inferred from $geometry
the $flags argument is the one that describes which fields in the geometry are valid, and it's optional. if you omit it, it will be inferred from the geometry itself. periodt.
scalar = $object->gravity ($newvalue=undef)β thegravityone, with optional$newvalue.$newvalue(scalar)
scalar = $object->height_inc ($newvalue=undef)β theheight_incone, with optional$newvalue.$newvalue(scalar)
scalar = $object->max_aspect ($newvalue=undef)β themax_aspectone, with optional$newvalue.$newvalue(scalar)
scalar = $object->max_height ($newvalue=undef)β themax_heightone, with optional$newvalue.$newvalue(scalar)
scalar = $object->max_width ($newvalue=undef)β themax_widthone, with optional$newvalue.$newvalue(scalar)
scalar = $object->min_aspect ($newvalue=undef)β themin_aspectone, with optional$newvalue.$newvalue(scalar)
scalar = $object->min_height ($newvalue=undef)β themin_heightone, with optional$newvalue.$newvalue(scalar)
scalar = $object->min_width ($newvalue=undef)β themin_widthone, with optional$newvalue.$newvalue(scalar)
scalar = $object->width_inc ($newvalue=undef)β thewidth_incone, with optional$newvalue.$newvalue(scalar)
scalar = $object->win_gravity ($newvalue=undef)β thewin_gravityone, with optional$newvalue.$newvalue(scalar)
ENUMS AND FLAGS π
flags Gtk2::Gdk::WindowHints π¦
'pos'/'GDK_HINT_POS''min-size'/'GDK_HINT_MIN_SIZE''max-size'/'GDK_HINT_MAX_SIZE''base-size'/'GDK_HINT_BASE_SIZE''aspect'/'GDK_HINT_ASPECT''resize-inc'/'GDK_HINT_RESIZE_INC''win-gravity'/'GDK_HINT_WIN_GRAVITY''user-pos'/'GDK_HINT_USER_POS''user-size'/'GDK_HINT_USER_SIZE'
SEE ALSO π
Gtk2β go read that one too, bestie.
COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
bye bestie π this page is Gtk2::G...Geometry(3), generated from perl v5.42.0, dated 2025-07-25. periodt. π
π¦ 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