Gtk2::Box(3) User Contributed Perl Documentation Gtk2::Box(3) NAME Gtk2::Box - wrapper for GtkBox HIERARCHY Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Box INTERFACES Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::Orientable METHODS $box->set_child_packing ($child, $expand, $fill, $padding, $pack_type) o $child (Gtk2::Widget) o $expand (boolean) o $fill (boolean) o $padding (integer) o $pack_type (Gtk2::PackType) boolean = $box->get_homogeneous $box->set_homogeneous ($homogeneous) o $homogeneous (boolean) $box->pack_end ($child, $expand, $fill, $padding) o $child (Gtk2::Widget) o $expand (boolean) o $fill (boolean) o $padding (integer) $box->pack_end_defaults ($widget) o $widget (Gtk2::Widget) $box->pack_start ($child, $expand, $fill, $padding) o $child (Gtk2::Widget) o $expand (boolean) o $fill (boolean) o $padding (integer) $box->pack_start_defaults ($widget) o $widget (Gtk2::Widget) list = $box->query_child_packing ($child) o $child (Gtk2::Widget) $box->reorder_child ($child, $position) o $child (Gtk2::Widget) o $position (integer) integer = $box->get_spacing $box->set_spacing ($spacing) o $spacing (integer) PROPERTIES 'homogeneous' (boolean : default false : readable / writable / private / static-nick / static-blurb) Whether the children should all be the same size 'spacing' (integer : default 0 : readable / writable / private / static-nick / static-blurb) The amount of space between children CHILD PROPERTIES 'expand' (boolean : default true : readable / writable / private / static-nick / static-blurb) Whether the child should receive extra space when the parent grows 'fill' (boolean : default true : readable / writable / private / static-nick / static-blurb) 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 / static-nick / static-blurb) 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 / static-nick / static-blurb) Extra space to put between the child and its neighbors, in pixels 'position' (integer : default 0 : readable / writable / private / static-nick / static-blurb) The index of the child in the parent ENUMS AND FLAGS enum Gtk2::PackType o 'start' / 'GTK_PACK_START' o 'end' / 'GTK_PACK_END' SEE ALSO Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container COPYRIGHT Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.40.0 2024-09-01 Gtk2::Box(3)