Gtk2::Box3pm
Wrapper for gtkbox
Hierarchy
Glib::Object+----Glib::InitiallyUnowned+----Gtk2::Object+----Gtk2::Widget+----Gtk2::Container+----Gtk2::Box
Interfaces
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::Orientable
Methods
$box->set_child_packing ($child, $expand, $fill, $padding, $pack_type)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
•
|
|
boolean = $box->get_homogeneous
$box->set_homogeneous ($homogeneous)
- •
-
$homogeneous(boolean)
$box->pack_end ($child, $expand, $fill, $padding)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
$box->pack_end_defaults ($widget)
- •
-
$widget(Gtk2::Widget)
$box->pack_start ($child, $expand, $fill, $padding)
•
|
|
|---|---|
•
|
|
•
|
|
•
|
|
$box->pack_start_defaults ($widget)
- •
-
$widget(Gtk2::Widget)
list = $box->query_child_packing ($child)
- •
-
$child(Gtk2::Widget)
$box->reorder_child ($child, $position)
•
|
|
|---|---|
•
|
|
integer = $box->get_spacing
$box->set_spacing ($spacing)
- •
-
$spacing(integer)
Properties
'homogeneous' (boolean : default false : readable / writable / private)
|
Whether the children should all be the same size |
|---|---|
'spacing' (integer : default 0 : readable / writable / private)
|
The amount of space between children |
Child properties
- 'expand' (boolean : default true : readable / writable / private)
-
Whether the child should receive extra space when the parent grows
- 'fill' (boolean : default true : readable / writable / private)
-
Whether extra space given to the child should be allocated to the child or used as padding
- 'pack-type' (Gtk2::PackType : default "start" : readable / writable / private)
-
A GtkPackType indicating whether the child is packed with reference to the start or end of the parent
- 'padding' (Glib::UInt : default 0 : readable / writable / private)
-
Extra space to put between the child and its neighbors, in pixels
- 'position' (integer : default 0 : readable / writable / private)
-
The index of the child in the parent
Enums and flags
enum Gtk2::PackType
•
|
'start' / 'GTK_PACK_START' |
|---|---|
•
|
'end' / 'GTK_PACK_END' |
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.