1Gtk2::Gdk::Geometry(3)User Contributed Perl DocumentationGtk2::Gdk::Geometry(3)
2
3
4

NAME

6       Gtk2::Gdk::Geometry
7

METHODS

9   geometry = Gtk2::Gdk::Geometry->new
10   scalar = $object->base_height ($newvalue=undef)
11           ·   $newvalue (scalar)
12
13   scalar = $object->base_width ($newvalue=undef)
14           ·   $newvalue (scalar)
15
16   (new_width, new_height) = $geometry->constrain_size ($width, $height)
17   (new_width, new_height) = $geometry->constrain_size ($flags, $width,
18       $height)
19           ·   ... (list)
20
21           ·   $flags (Gtk2::Gdk::WindowHints) optional, usually inferred from
22               $geometry
23
24           The $flags argument, describing which fields in the geometry are
25           valid, is optional.  If omitted it will be inferred from the
26           geometry itself.
27
28   scalar = $object->gravity ($newvalue=undef)
29           ·   $newvalue (scalar)
30
31   scalar = $object->height_inc ($newvalue=undef)
32           ·   $newvalue (scalar)
33
34   scalar = $object->max_aspect ($newvalue=undef)
35           ·   $newvalue (scalar)
36
37   scalar = $object->max_height ($newvalue=undef)
38           ·   $newvalue (scalar)
39
40   scalar = $object->max_width ($newvalue=undef)
41           ·   $newvalue (scalar)
42
43   scalar = $object->min_aspect ($newvalue=undef)
44           ·   $newvalue (scalar)
45
46   scalar = $object->min_height ($newvalue=undef)
47           ·   $newvalue (scalar)
48
49   scalar = $object->min_width ($newvalue=undef)
50           ·   $newvalue (scalar)
51
52   scalar = $object->width_inc ($newvalue=undef)
53           ·   $newvalue (scalar)
54
55   scalar = $object->win_gravity ($newvalue=undef)
56           ·   $newvalue (scalar)
57

ENUMS AND FLAGS

59   flags Gtk2::Gdk::WindowHints
60       ·   'pos' / 'GDK_HINT_POS'
61
62       ·   'min-size' / 'GDK_HINT_MIN_SIZE'
63
64       ·   'max-size' / 'GDK_HINT_MAX_SIZE'
65
66       ·   'base-size' / 'GDK_HINT_BASE_SIZE'
67
68       ·   'aspect' / 'GDK_HINT_ASPECT'
69
70       ·   'resize-inc' / 'GDK_HINT_RESIZE_INC'
71
72       ·   'win-gravity' / 'GDK_HINT_WIN_GRAVITY'
73
74       ·   'user-pos' / 'GDK_HINT_USER_POS'
75
76       ·   'user-size' / 'GDK_HINT_USER_SIZE'
77

SEE ALSO

79       Gtk2
80
82       Copyright (C) 2003-2008 by the gtk2-perl team.
83
84       This software is licensed under the LGPL.  See Gtk2 for a full notice.
85
86
87
88perl v5.12.0                      2010-05-02            Gtk2::Gdk::Geometry(3)
Impressum