Gtk2::Gdk::Geometry(3)

NAME
Gtk2::Gdk::Geometry

METHODS

  geometry = Gtk2::Gdk::Geometry->new

  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)

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

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

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