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         Gtk2::Buildable
19         Glib::Object::_Unregistered::GtkOrientable
20

METHODS

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

PROPERTIES

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

ENUMS AND FLAGS

81   enum Gtk2::PackType
82       ·   'start' / 'GTK_PACK_START'
83
84       ·   'end' / 'GTK_PACK_END'
85

SEE ALSO

87       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
88       Gtk2::Container
89
91       Copyright (C) 2003-2008 by the gtk2-perl team.
92
93       This software is licensed under the LGPL.  See Gtk2 for a full notice.
94
95
96
97perl v5.12.0                      2010-05-02                      Gtk2::Box(3)
Impressum