1Gtk2::Box(3)          User Contributed Perl Documentation         Gtk2::Box(3)
2
3
4

NAME

6       Gtk2::Box
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Box
15

INTERFACES

17         Glib::Object::_Unregistered::AtkImplementorIface
18

METHODS

20       $box->set_child_packing ($child, $expand, $fill, $padding, $pack_type)
21
22           * $child (Gtk2::Widget)
23           * $expand (boolean)
24           * $fill (boolean)
25           * $padding (integer)
26           * $pack_type (Gtk2::PackType)
27
28       boolean = $box->get_homogeneous
29
30       $box->set_homogeneous ($homogeneous)
31
32           * $homogeneous (boolean)
33
34       $box->pack_end ($child, $expand, $fill, $padding)
35
36           * $child (Gtk2::Widget)
37           * $expand (boolean)
38           * $fill (boolean)
39           * $padding (integer)
40
41       $box->pack_end_defaults ($widget)
42
43           * $widget (Gtk2::Widget)
44
45       $box->pack_start ($child, $expand, $fill, $padding)
46
47           * $child (Gtk2::Widget)
48           * $expand (boolean)
49           * $fill (boolean)
50           * $padding (integer)
51
52       $box->pack_start_defaults ($widget)
53
54           * $widget (Gtk2::Widget)
55
56       (expand, fill, padding, pack_type) = $box->query_child_packing ($child)
57
58           * $child (Gtk2::Widget)
59
60       $box->reorder_child ($child, $position)
61
62           * $child (Gtk2::Widget)
63           * $position (integer)
64
65       integer = $box->get_spacing
66
67       $box->set_spacing ($spacing)
68
69           * $spacing (integer)
70

PROPERTIES

72       'homogeneous' (boolean : readable / writable / private)
73           Whether the children should all be the same size
74
75       'spacing' (integer : readable / writable / private)
76           The amount of space between children
77

ENUMS AND FLAGS

79       enum Gtk2::PackType
80
81       * 'start' / 'GTK_PACK_START'
82       * 'end' / 'GTK_PACK_END'
83

SEE ALSO

85       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
86       Gtk2::Container
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::Box(3)
Impressum