.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::Box 3" .TH Gtk2::Box 3 2024-09-01 "perl v5.40.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::Box \- wrapper for GtkBox .SH HIERARCHY .IX Header "HIERARCHY" .Vb 6 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Box .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 3 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable \& Gtk2::Orientable .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "$box\->\fBset_child_packing\fP ($child, $expand, $fill, $padding, $pack_type)" .el .SS "\f(CW$box\fP\->\fBset_child_packing\fP ($child, \f(CW$expand\fP, \f(CW$fill\fP, \f(CW$padding\fP, \f(CW$pack_type\fP)" .IX Subsection "$box->set_child_packing ($child, $expand, $fill, $padding, $pack_type)" .IP \(bu 4 \&\f(CW$child\fR (Gtk2::Widget) .IP \(bu 4 \&\f(CW$expand\fR (boolean) .IP \(bu 4 \&\f(CW$fill\fR (boolean) .IP \(bu 4 \&\f(CW$padding\fR (integer) .IP \(bu 4 \&\f(CW$pack_type\fR (Gtk2::PackType) .ie n .SS "boolean = $box\->\fBget_homogeneous\fP" .el .SS "boolean = \f(CW$box\fP\->\fBget_homogeneous\fP" .IX Subsection "boolean = $box->get_homogeneous" .ie n .SS "$box\->\fBset_homogeneous\fP ($homogeneous)" .el .SS "\f(CW$box\fP\->\fBset_homogeneous\fP ($homogeneous)" .IX Subsection "$box->set_homogeneous ($homogeneous)" .IP \(bu 4 \&\f(CW$homogeneous\fR (boolean) .ie n .SS "$box\->\fBpack_end\fP ($child, $expand, $fill, $padding)" .el .SS "\f(CW$box\fP\->\fBpack_end\fP ($child, \f(CW$expand\fP, \f(CW$fill\fP, \f(CW$padding\fP)" .IX Subsection "$box->pack_end ($child, $expand, $fill, $padding)" .IP \(bu 4 \&\f(CW$child\fR (Gtk2::Widget) .IP \(bu 4 \&\f(CW$expand\fR (boolean) .IP \(bu 4 \&\f(CW$fill\fR (boolean) .IP \(bu 4 \&\f(CW$padding\fR (integer) .ie n .SS "$box\->\fBpack_end_defaults\fP ($widget)" .el .SS "\f(CW$box\fP\->\fBpack_end_defaults\fP ($widget)" .IX Subsection "$box->pack_end_defaults ($widget)" .IP \(bu 4 \&\f(CW$widget\fR (Gtk2::Widget) .ie n .SS "$box\->\fBpack_start\fP ($child, $expand, $fill, $padding)" .el .SS "\f(CW$box\fP\->\fBpack_start\fP ($child, \f(CW$expand\fP, \f(CW$fill\fP, \f(CW$padding\fP)" .IX Subsection "$box->pack_start ($child, $expand, $fill, $padding)" .IP \(bu 4 \&\f(CW$child\fR (Gtk2::Widget) .IP \(bu 4 \&\f(CW$expand\fR (boolean) .IP \(bu 4 \&\f(CW$fill\fR (boolean) .IP \(bu 4 \&\f(CW$padding\fR (integer) .ie n .SS "$box\->\fBpack_start_defaults\fP ($widget)" .el .SS "\f(CW$box\fP\->\fBpack_start_defaults\fP ($widget)" .IX Subsection "$box->pack_start_defaults ($widget)" .IP \(bu 4 \&\f(CW$widget\fR (Gtk2::Widget) .ie n .SS "list = $box\->\fBquery_child_packing\fP ($child)" .el .SS "list = \f(CW$box\fP\->\fBquery_child_packing\fP ($child)" .IX Subsection "list = $box->query_child_packing ($child)" .IP \(bu 4 \&\f(CW$child\fR (Gtk2::Widget) .ie n .SS "$box\->\fBreorder_child\fP ($child, $position)" .el .SS "\f(CW$box\fP\->\fBreorder_child\fP ($child, \f(CW$position\fP)" .IX Subsection "$box->reorder_child ($child, $position)" .IP \(bu 4 \&\f(CW$child\fR (Gtk2::Widget) .IP \(bu 4 \&\f(CW$position\fR (integer) .ie n .SS "integer = $box\->\fBget_spacing\fP" .el .SS "integer = \f(CW$box\fP\->\fBget_spacing\fP" .IX Subsection "integer = $box->get_spacing" .ie n .SS "$box\->\fBset_spacing\fP ($spacing)" .el .SS "\f(CW$box\fP\->\fBset_spacing\fP ($spacing)" .IX Subsection "$box->set_spacing ($spacing)" .IP \(bu 4 \&\f(CW$spacing\fR (integer) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'homogeneous' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'homogeneous' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether the children should all be the same size .IP "'spacing' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'spacing' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" The amount of space between children .SH "CHILD PROPERTIES" .IX Header "CHILD PROPERTIES" .IP "'expand' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'expand' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the child should receive extra space when the parent grows .IP "'fill' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'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 .IP "'pack\-type' (Gtk2::PackType : default ""start"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'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 .IP "'padding' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'padding' (Glib::UInt : default 0 : readable / writable / private / static-nick / static-blurb)" Extra space to put between the child and its neighbors, in pixels .IP "'position' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'position' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" The index of the child in the parent .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::PackType" .IX Subsection "enum Gtk2::PackType" .IP \(bu 4 \&'start' / 'GTK_PACK_START' .IP \(bu 4 \&'end' / 'GTK_PACK_END' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.