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
11       scalar = $object->base_height ($newvalue=undef)
12
13           * $newvalue (scalar)
14
15       scalar = $object->base_width ($newvalue=undef)
16
17           * $newvalue (scalar)
18
19       (new_width, new_height) = $geometry->constrain_size ($width, $height)
20
21       (new_width, new_height) = $geometry->constrain_size ($flags, $width,
22       $height)
23
24           * ... (list)
25           * $flags (Gtk2::Gdk::WindowHints) optional, usually inferred from
26           $geometry
27
28           The $flags argument, describing which fields in the geometry are
29           valid, is optional.  If omitted it will be inferred from the geomeā€
30           try itself.
31
32       scalar = $object->gravity ($newvalue=undef)
33
34           * $newvalue (scalar)
35
36       scalar = $object->height_inc ($newvalue=undef)
37
38           * $newvalue (scalar)
39
40       scalar = $object->max_aspect ($newvalue=undef)
41
42           * $newvalue (scalar)
43
44       scalar = $object->max_height ($newvalue=undef)
45
46           * $newvalue (scalar)
47
48       scalar = $object->max_width ($newvalue=undef)
49
50           * $newvalue (scalar)
51
52       scalar = $object->min_aspect ($newvalue=undef)
53
54           * $newvalue (scalar)
55
56       scalar = $object->min_height ($newvalue=undef)
57
58           * $newvalue (scalar)
59
60       scalar = $object->min_width ($newvalue=undef)
61
62           * $newvalue (scalar)
63
64       scalar = $object->width_inc ($newvalue=undef)
65
66           * $newvalue (scalar)
67
68       scalar = $object->win_gravity ($newvalue=undef)
69
70           * $newvalue (scalar)
71

ENUMS AND FLAGS

73       flags Gtk2::Gdk::WindowHints
74
75       * 'pos' / 'GDK_HINT_POS'
76       * 'min-size' / 'GDK_HINT_MIN_SIZE'
77       * 'max-size' / 'GDK_HINT_MAX_SIZE'
78       * 'base-size' / 'GDK_HINT_BASE_SIZE'
79       * 'aspect' / 'GDK_HINT_ASPECT'
80       * 'resize-inc' / 'GDK_HINT_RESIZE_INC'
81       * 'win-gravity' / 'GDK_HINT_WIN_GRAVITY'
82       * 'user-pos' / 'GDK_HINT_USER_POS'
83       * 'user-size' / 'GDK_HINT_USER_SIZE'
84

SEE ALSO

86       Gtk2
87
89       Copyright (C) 2003-2007 by the gtk2-perl team.
90
91       This software is licensed under the LGPL.  See Gtk2 for a full notice.
92
93
94
95perl v5.8.8                       2007-03-18            Gtk2::Gdk::Geometry(3)
Impressum