1Gtk2::Gdk::Geometry(3)User Contributed Perl DocumentationGtk2::Gdk::Geometry(3)
2
3
4
6 Gtk2::Gdk::Geometry
7
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 valid,
25 is optional. If omitted it will be inferred from the geometry itself.
26
27 scalar = $object->gravity ($newvalue=undef)
28 • $newvalue (scalar)
29
30 scalar = $object->height_inc ($newvalue=undef)
31 • $newvalue (scalar)
32
33 scalar = $object->max_aspect ($newvalue=undef)
34 • $newvalue (scalar)
35
36 scalar = $object->max_height ($newvalue=undef)
37 • $newvalue (scalar)
38
39 scalar = $object->max_width ($newvalue=undef)
40 • $newvalue (scalar)
41
42 scalar = $object->min_aspect ($newvalue=undef)
43 • $newvalue (scalar)
44
45 scalar = $object->min_height ($newvalue=undef)
46 • $newvalue (scalar)
47
48 scalar = $object->min_width ($newvalue=undef)
49 • $newvalue (scalar)
50
51 scalar = $object->width_inc ($newvalue=undef)
52 • $newvalue (scalar)
53
54 scalar = $object->win_gravity ($newvalue=undef)
55 • $newvalue (scalar)
56
58 flags Gtk2::Gdk::WindowHints
59 • 'pos' / 'GDK_HINT_POS'
60
61 • 'min-size' / 'GDK_HINT_MIN_SIZE'
62
63 • 'max-size' / 'GDK_HINT_MAX_SIZE'
64
65 • 'base-size' / 'GDK_HINT_BASE_SIZE'
66
67 • 'aspect' / 'GDK_HINT_ASPECT'
68
69 • 'resize-inc' / 'GDK_HINT_RESIZE_INC'
70
71 • 'win-gravity' / 'GDK_HINT_WIN_GRAVITY'
72
73 • 'user-pos' / 'GDK_HINT_USER_POS'
74
75 • 'user-size' / 'GDK_HINT_USER_SIZE'
76
78 Gtk2
79
81 Copyright (C) 2003-2011 by the gtk2-perl team.
82
83 This software is licensed under the LGPL. See Gtk2 for a full notice.
84
85
86
87perl v5.34.0 2022-01-21 Gtk2::Gdk::Geometry(3)