Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 677c1b5134368504c2e447757584d19e > files > 606

ghc-gtk-devel-0.11.2-5.fc14.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Graphics.UI.Gtk.Abstract.Box</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_Graphics-UI-Gtk-Abstract-Box.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
>gtk-0.11.2: Binding to the Gtk+ graphical user interface library.</TD
><TD CLASS="topbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html"
>Source code</A
></TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>Graphics.UI.Gtk.Abstract.Box</FONT
></TD
><TD ALIGN="right"
><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="infohead"
>Portability</TD
><TD CLASS="infoval"
>portable (depends on GHC)</TD
></TR
><TR
><TD CLASS="infohead"
>Stability</TD
><TD CLASS="infoval"
>provisional</TD
></TR
><TR
><TD CLASS="infohead"
>Maintainer</TD
><TD CLASS="infoval"
>gtk2hs-users@lists.sourceforge.net</TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
><B
>Contents</B
></TD
></TR
><TR
><TD
><DL
><DT
><A HREF="#1"
>Detail
</A
></DT
><DT
><A HREF="#2"
>Class Hierarchy
</A
></DT
><DT
><A HREF="#3"
>Types
</A
></DT
><DT
><A HREF="#4"
>Methods
</A
></DT
><DT
><A HREF="#5"
>Attributes
</A
></DT
><DT
><A HREF="#6"
>Child Attributes
</A
></DT
></DL
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
>Base class for box containers
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ABox"
>Box</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainerClass"
>ContainerClass</A
> o =&gt; <A HREF="#t%3ABoxClass"
>BoxClass</A
> o </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcastToBox"
>castToBox</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> obj =&gt; obj -&gt; <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AgTypeBox"
>gTypeBox</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AGType"
>GType</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtoBox"
>toBox</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> o =&gt; o -&gt; <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3APacking"
>Packing</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3APackRepel"
>PackRepel</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3APackGrow"
>PackGrow</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3APackNatural"
>PackNatural</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxPackStart"
>boxPackStart</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; self -&gt; child -&gt; <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxPackEnd"
>boxPackEnd</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; self -&gt; child -&gt; <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxPackStartDefaults"
>boxPackStartDefaults</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget) =&gt; self -&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxPackEndDefaults"
>boxPackEndDefaults</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget) =&gt; self -&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxGetHomogeneous"
>boxGetHomogeneous</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self =&gt; self -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxSetHomogeneous"
>boxSetHomogeneous</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self =&gt; self -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxGetSpacing"
>boxGetSpacing</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self =&gt; self -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxSetSpacing"
>boxSetSpacing</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self =&gt; self -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxReorderChild"
>boxReorderChild</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; self -&gt; child -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxQueryChildPacking"
>boxQueryChildPacking</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; self -&gt; child -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
>, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
>, <A HREF="Graphics-UI-Gtk-General-Enums.html#t%3APackType"
>PackType</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxSetChildPacking"
>boxSetChildPacking</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; self -&gt; child -&gt; <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Enums.html#t%3APackType"
>PackType</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxSpacing"
>boxSpacing</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxHomogeneous"
>boxHomogeneous</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxChildPacking"
>boxChildPacking</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxChildPadding"
>boxChildPadding</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxChildPackType"
>boxChildPackType</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="Graphics-UI-Gtk-General-Enums.html#t%3APackType"
>PackType</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AboxChildPosition"
>boxChildPosition</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="1"
><A NAME="1"
>Detail
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="doc"
><P
><TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> is an abstract widget which encapsulates functionality for a
 particular kind of container, one that organizes a variable number of
 widgets into a rectangular area. <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> currently has two derived classes,
 <TT
><A HREF="Graphics-UI-Gtk-Layout-HBox.html#t%3AHBox"
>HBox</A
></TT
> and <TT
><A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBox"
>VBox</A
></TT
>.
</P
><P
>The rectangular area of a <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> is organized into either a single row or
 a single column of child widgets depending upon whether the box is of type
 <TT
><A HREF="Graphics-UI-Gtk-Layout-HBox.html#t%3AHBox"
>HBox</A
></TT
> or <TT
><A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBox"
>VBox</A
></TT
>, respectively. Thus, all children of a <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> are allocated
 one dimension in common, which is the height of a row, or the width of a
 column.
</P
><P
><TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> uses a notion of <EM
>packing</EM
>. Packing refers to adding widgets with
 reference to a particular position in a <TT
><A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainer"
>Container</A
></TT
>. For a <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
>, there are
 two reference positions: the <EM
>start</EM
> and the <EM
>end</EM
> of the box. For a <TT
><A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBox"
>VBox</A
></TT
>,
 the start is defined as the top of the box and the end is defined as the
 bottom. For a <TT
><A HREF="Graphics-UI-Gtk-Layout-HBox.html#t%3AHBox"
>HBox</A
></TT
> the start is defined as the left side and the end is
 defined as the right side.
</P
><P
>Use repeated calls to <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxPackStart"
>boxPackStart</A
></TT
> to pack widgets into a <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> from
 start to end. Use <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxPackEnd"
>boxPackEnd</A
></TT
> to add widgets from end to start. You may
 intersperse these calls and add widgets from both ends of the same <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
>.
 Besides adding widgets at the start or the end of a box, you can also
 specify the padding around each widget (in pixels) and a <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TT
>
 parameter that denotes how to fill up unused space.
 The functions <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxPackStartDefaults"
>boxPackStartDefaults</A
></TT
> or <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxPackEndDefaults"
>boxPackEndDefaults</A
></TT
> 
 are a convenient way to pack widgets into a <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> without specifying
 these extra paramters.
</P
><P
>While the right amount of padding around each widget is a matter of
 appearance, the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TT
> paramter specifies the way the widgets in
 the container behave when the window is resized and thereby affect
 the usability. Hence, once you have created a window, you should resize
 it and see if the widgets behave as expected. The <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TT
> parameter of
 each child widget determines how excess space is used by that particular
 widget. See the description of <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TT
> for a detailed explanaition.
</P
><P
>Because <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> is a <TT
><A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainer"
>Container</A
></TT
>, you may also use
 Graphics.UI.Gtk.Abstract.Container.containerAdd to insert widgets into
 the box, and they will be packed as if with <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxPackStartDefaults"
>boxPackStartDefaults</A
></TT
>. Use
 Graphics.UI.Gtk.Abstract.Container.containerRemove to remove widgets
 from the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
>.
</P
><P
>Use <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxSetHomogeneous"
>boxSetHomogeneous</A
></TT
> to specify whether or not all children of the
 <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> are forced to get the same amount of space. Note that the
 <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TT
> options <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackNatural"
>PackNatural</A
></TT
> and <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackRepel"
>PackRepel</A
></TT
> coincide if space is
 allotted homogeneously.
</P
><P
>Use <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxSetSpacing"
>boxSetSpacing</A
></TT
> to determine how much space will be minimally placed
 between all children in the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
>.
</P
><P
>Use <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxReorderChild"
>boxReorderChild</A
></TT
> to move a <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> child to a different place in the
 box.
</P
><P
>Use <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxSetChildPacking"
>boxSetChildPacking</A
></TT
> to reset the expand, fill, and padding
 attributes of any <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TT
> child. Use <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxQueryChildPacking"
>boxQueryChildPacking</A
></TT
> to query these
 fields.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="2"
><A NAME="2"
>Class Hierarchy
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="doc"
><PRE
>
 |  <TT
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObject"
>GObject</A
></TT
>
 |   +----<TT
><A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObject"
>Object</A
></TT
>
 |         +----<TT
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
></TT
>
 |               +----<TT
><A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainer"
>Container</A
></TT
>
 |                     +----Box
 |                           +----<TT
><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBox"
>ButtonBox</A
></TT
>
 |                           +----<TT
><A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBox"
>VBox</A
></TT
>
 |                           +----<TT
><A HREF="Graphics-UI-Gtk-Layout-HBox.html#t%3AHBox"
>HBox</A
></TT
>
</PRE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="3"
><A NAME="3"
>Types
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:Box"
><A NAME="t%3ABox"
></A
></A
><B
>Box</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#Box"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Box')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:Box" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainerClass"
>ContainerClass</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObjectClass"
>ObjectClass</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainerClass"
>ContainerClass</A
> o =&gt; <A NAME="t:BoxClass"
><A NAME="t%3ABoxClass"
></A
></A
><B
>BoxClass</B
> o </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#BoxClass"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:BoxClass')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:BoxClass" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Display-Statusbar.html#t%3AStatusbar"
>Statusbar</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Selectors-FileChooserButton.html#t%3AFileChooserButton"
>FileChooserButton</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo"
>Combo</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Layout-HBox.html#t%3AHBox"
>HBox</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Selectors-FileChooserWidget.html#t%3AFileChooserWidget"
>FileChooserWidget</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Selectors-FontSelection.html#t%3AFontSelection"
>FontSelection</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection"
>ColorSelection</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBox"
>VBox</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Layout-VButtonBox.html#t%3AVButtonBox"
>VButtonBox</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Layout-HButtonBox.html#t%3AHButtonBox"
>HButtonBox</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBox"
>ButtonBox</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:castToBox"
><A NAME="v%3AcastToBox"
></A
></A
><B
>castToBox</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> obj =&gt; obj -&gt; <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#castToBox"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:gTypeBox"
><A NAME="v%3AgTypeBox"
></A
></A
><B
>gTypeBox</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AGType"
>GType</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#gTypeBox"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:toBox"
><A NAME="v%3AtoBox"
></A
></A
><B
>toBox</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> o =&gt; o -&gt; <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox"
>Box</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#toBox"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:Packing"
><A NAME="t%3APacking"
></A
></A
><B
>Packing</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Enums.html#Packing"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
><P
>Packing parameters of a widget
</P
><UL
><LI
> The <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TT
> parameter determines how the child behaves in the horizontal
 or vertical way in an Graphics.UI.Gtk.Layout.HBox or
 Graphics.UI.Gtk.Layout.VBox, respectively. <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackNatural"
>PackNatural</A
></TT
>
 means the child is as big as it reqests. It will stay at the start of the
 end of a Graphics.UI.Gtk.Layout.Box if there is more space available.
 All children packed with <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackRepel"
>PackRepel</A
></TT
> will be padded on both sides with
 additional space. <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackGrow"
>PackGrow</A
></TT
> will increase the size of a widget so that it
 covers the available space. A menu bar, for instance, should always
 stay at the top of a window and should only occupy as little space
 as possible. Hence it should be packed at the start of a
 Graphics.UI.Gtk.Layout.VBox with
 the packing option <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackNatural"
>PackNatural</A
></TT
>. The working area of a window
 (e.g. the text area in an editor) should expand when the window is
 resized. Here the packing option <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackGrow"
>PackGrow</A
></TT
> is the right choice and
 it is irrelevant whether the main area is inserted at the start or
 the end of a box. Finally <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackRepel"
>PackRepel</A
></TT
> is most useful in a window
 where no widget can make use of excess space. Examples include a
 dialog box without list boxes or text fields.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:PackRepel"
><A NAME="v%3APackRepel"
></A
></A
><B
>PackRepel</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:PackGrow"
><A NAME="v%3APackGrow"
></A
></A
><B
>PackGrow</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:PackNatural"
><A NAME="v%3APackNatural"
></A
></A
><B
>PackNatural</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Packing')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:Packing" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="4"
><A NAME="4"
>Methods
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxPackStart"
><A NAME="v%3AboxPackStart"
></A
></A
><B
>boxPackStart</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxPackStart"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; child</TD
><TD CLASS="rdoc"
><TT
>child</TT
> - the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
></TT
> to be added to the box.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
><TT
>padding</TT
> - extra space in pixels to put between this child and
 its neighbors, over and above the global amount specified by
 spacing <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxSetSpacing"
>boxSetSpacing</A
></TT
>. If <TT
>child</TT
>
 is a widget at one of the reference ends of <TT
>box</TT
>, then <TT
>padding</TT
>
 pixels are also put between <TT
>child</TT
> and the reference edge of
 <TT
>box</TT
>.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Adds the <TT
>child</TT
> widget to the box, packed with reference to the start of
 the box. The
 <TT
>child</TT
> is packed after any other child packed with reference to the start
 of the box.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxPackEnd"
><A NAME="v%3AboxPackEnd"
></A
></A
><B
>boxPackEnd</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxPackEnd"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; child</TD
><TD CLASS="rdoc"
><TT
>child</TT
> - the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
></TT
> to be added to the box.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
><TT
>padding</TT
> - extra space in pixels to put between this child and
 its neighbors, over and above the global amount specified by
 spacing <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxSetSpacing"
>boxSetSpacing</A
></TT
>. If <TT
>child</TT
>
 is a widget at one of the reference ends of <TT
>box</TT
>, then <TT
>padding</TT
>
 pixels are also put between <TT
>child</TT
> and the reference edge of
 <TT
>box</TT
>.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
><P
>Adds the <TT
>child</TT
> widget to the box, packed with reference to the end of 
 the box. The
 <TT
>child</TT
> is packed after (away from end of) any other child packed with
 reference to the end of the box.
</P
><P
>Note that 
 for <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxPackEnd"
>boxPackEnd</A
></TT
> the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackNatural"
>PackNatural</A
></TT
> option will move a child to the right in
 an <TT
><A HREF="Graphics-UI-Gtk-Layout-HBox.html#t%3AHBox"
>HBox</A
></TT
> or to the bottom in an <TT
><A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBox"
>VBox</A
></TT
> if there is more space availble.
</P
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxPackStartDefaults"
><A NAME="v%3AboxPackStartDefaults"
></A
></A
><B
>boxPackStartDefaults</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxPackStartDefaults"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; widget</TD
><TD CLASS="rdoc"
><TT
>widget</TT
> - the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
></TT
> to be added to the box.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Like <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxPackStart"
>boxPackStart</A
></TT
> but uses the default parameters <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackRepel"
>PackRepel</A
></TT
> and 0 for
 padding.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxPackEndDefaults"
><A NAME="v%3AboxPackEndDefaults"
></A
></A
><B
>boxPackEndDefaults</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxPackEndDefaults"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; widget</TD
><TD CLASS="rdoc"
><TT
>widget</TT
> - the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
></TT
> to be added to the box.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Like <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxPackEnd"
>boxPackEnd</A
></TT
> but uses the default parameters <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackRepel"
>PackRepel</A
></TT
> and 0 for
 padding.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxGetHomogeneous"
><A NAME="v%3AboxGetHomogeneous"
></A
></A
><B
>boxGetHomogeneous</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxGetHomogeneous"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>returns <TT
>True</TT
> if the box is homogeneous.
</TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Returns whether the box is homogeneous (all children are the same size).
 See <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3AboxSetHomogeneous"
>boxSetHomogeneous</A
></TT
>.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxSetHomogeneous"
><A NAME="v%3AboxSetHomogeneous"
></A
></A
><B
>boxSetHomogeneous</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxSetHomogeneous"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
><TT
>homogeneous</TT
> - a boolean value, <TT
>True</TT
> to create equal
 allotments, <TT
>False</TT
> for variable allotments.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Sets the homogeneous property,
 controlling whether or not all children of the box are given equal space
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxGetSpacing"
><A NAME="v%3AboxGetSpacing"
></A
></A
><B
>boxGetSpacing</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxGetSpacing"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>returns spacing between children
</TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Retrieves the standard spacing between widgets.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxSetSpacing"
><A NAME="v%3AboxSetSpacing"
></A
></A
><B
>boxSetSpacing</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxSetSpacing"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
><TT
>spacing</TT
> - the number of pixels to put between children.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
><P
>Set the standard spacing between two children.
</P
><P
>This space is in addition to the padding parameter that is given for each
 child.
</P
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxReorderChild"
><A NAME="v%3AboxReorderChild"
></A
></A
><B
>boxReorderChild</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxReorderChild"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; child</TD
><TD CLASS="rdoc"
><TT
>child</TT
> - the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
></TT
> to move.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
><TT
>position</TT
> - the new position for <TT
>child</TT
> in the children list
 starting from 0. If negative, indicates the end of the list.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
><P
>Moves <TT
>child</TT
> to a new <TT
>position</TT
> in the list of <TT
>box</TT
> children. The list
 contains both widgets packed <TT
><A HREF="Graphics-UI-Gtk-General-Enums.html#v%3APackStart"
>PackStart</A
></TT
> as well as widgets packed
 <TT
><A HREF="Graphics-UI-Gtk-General-Enums.html#v%3APackEnd"
>PackEnd</A
></TT
>, in the order that these widgets were added to the box.
</P
><P
>A widget's position in the box children list determines where the
 widget is packed into the box. A child widget at some position in the list
 will be packed just after all other widgets of the same packing type that
 appear earlier in the list.
</P
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxQueryChildPacking"
><A NAME="v%3AboxQueryChildPacking"
></A
></A
><B
>boxQueryChildPacking</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxQueryChildPacking"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; child</TD
><TD CLASS="rdoc"
><TT
>child</TT
> - the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
></TT
> of the child to query.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
>, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
>, <A HREF="Graphics-UI-Gtk-General-Enums.html#t%3APackType"
>PackType</A
>)</TD
><TD CLASS="rdoc"
><PRE
>(packing, padding, packType)</PRE
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
><P
>Returns information about how <TT
>child</TT
> is packed into the box.
</P
><P
>Returns information on the behaviour if free space is available 
 (in <TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TT
>), the additional padding for this widget and if the widget
 was inserted at the start or end of the container (<TT
><A HREF="Graphics-UI-Gtk-General-Enums.html#t%3APackType"
>PackType</A
></TT
>).
</P
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxSetChildPacking"
><A NAME="v%3AboxSetChildPacking"
></A
></A
><B
>boxSetChildPacking</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxSetChildPacking"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; child</TD
><TD CLASS="rdoc"
><TT
>child</TT
> - the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
></TT
> of the child to set.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
><PRE
>padding</PRE
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-General-Enums.html#t%3APackType"
>PackType</A
></TD
><TD CLASS="rdoc"
><PRE
>packType</PRE
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Sets the way <TT
>child</TT
> is packed into the box.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="5"
><A NAME="5"
>Attributes
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxSpacing"
><A NAME="v%3AboxSpacing"
></A
></A
><B
>boxSpacing</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxSpacing"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>The amount of space between children.
</P
><P
>Allowed values: &gt;= 0
</P
><P
>Default value: 0
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxHomogeneous"
><A NAME="v%3AboxHomogeneous"
></A
></A
><B
>boxHomogeneous</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxHomogeneous"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Whether the children should all be the same size.
</P
><P
>Default value: <TT
>False</TT
>
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="6"
><A NAME="6"
>Child Attributes
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxChildPacking"
><A NAME="v%3AboxChildPacking"
></A
></A
><B
>boxChildPacking</B
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3APacking"
>Packing</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxChildPacking"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>The packing style of the child.
</P
><P
>Default value: <TT
><TT
><A HREF="Graphics-UI-Gtk-Abstract-Box.html#v%3APackGrow"
>PackGrow</A
></TT
></TT
>
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxChildPadding"
><A NAME="v%3AboxChildPadding"
></A
></A
><B
>boxChildPadding</B
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxChildPadding"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Extra space to put between the child and its neighbors, in pixels.
</P
><P
>Allowed values: &lt;= <TT
>(<TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#v%3AmaxBound"
>maxBound</A
></TT
> :: Int)</TT
>
</P
><P
>Default value: 0
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxChildPackType"
><A NAME="v%3AboxChildPackType"
></A
></A
><B
>boxChildPackType</B
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="Graphics-UI-Gtk-General-Enums.html#t%3APackType"
>PackType</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxChildPackType"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>A <TT
><A HREF="Graphics-UI-Gtk-General-Enums.html#t%3APackType"
>PackType</A
></TT
> indicating whether the child is packed with reference to the
 start or end of the parent.
</P
><P
>Default value: <TT
><A HREF="Graphics-UI-Gtk-General-Enums.html#v%3APackStart"
>PackStart</A
></TT
>
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:boxChildPosition"
><A NAME="v%3AboxChildPosition"
></A
></A
><B
>boxChildPosition</B
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass"
>BoxClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Abstract-Box.html#boxChildPosition"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>The index of the child in the parent.
</P
><P
>Allowed values: &gt;= -1
</P
><P
>Default value: 0
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.6.1</TD
></TR
></TABLE
></BODY
></HTML
>