Gtk2::Gdk::Geometry(3) User Contributed Perl Documentation Gtk2::Gdk::Geometry(3)

Gtk2::Gdk::Geometry

scalar = $object->base_height ($newvalue=undef)

$newvalue (scalar)

scalar = $object->base_width ($newvalue=undef)

$newvalue (scalar)

(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, describing which fields in the geometry are valid, is optional. If omitted it will be inferred from the geometry itself.

scalar = $object->gravity ($newvalue=undef)

$newvalue (scalar)

scalar = $object->height_inc ($newvalue=undef)

$newvalue (scalar)

scalar = $object->max_aspect ($newvalue=undef)

$newvalue (scalar)

scalar = $object->max_height ($newvalue=undef)

$newvalue (scalar)

scalar = $object->max_width ($newvalue=undef)

$newvalue (scalar)

scalar = $object->min_aspect ($newvalue=undef)

$newvalue (scalar)

scalar = $object->min_height ($newvalue=undef)

$newvalue (scalar)

scalar = $object->min_width ($newvalue=undef)

$newvalue (scalar)

scalar = $object->width_inc ($newvalue=undef)

$newvalue (scalar)

scalar = $object->win_gravity ($newvalue=undef)

$newvalue (scalar)

  • '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'

Gtk2

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2022-05-29 perl v5.36.0