<!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.ButtonBox</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-ButtonBox.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-ButtonBox.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.ButtonBox</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 <TT ><A HREF="Graphics-UI-Gtk-Layout-HButtonBox.html#t%3AHButtonBox" >HButtonBox</A ></TT > and <TT ><A HREF="Graphics-UI-Gtk-Layout-VButtonBox.html#t%3AVButtonBox" >VButtonBox</A ></TT > </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%3AButtonBox" >ButtonBox</A > </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass" >BoxClass</A > o => <A HREF="#t%3AButtonBoxClass" >ButtonBoxClass</A > o </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcastToButtonBox" >castToButtonBox</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass" >GObjectClass</A > obj => obj -> <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBox" >ButtonBox</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AgTypeButtonBox" >gTypeButtonBox</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%3AtoButtonBox" >toButtonBox</A > :: <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > o => o -> <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBox" >ButtonBox</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%3AButtonBoxStyle" >ButtonBoxStyle</A > </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" >= <A HREF="#v%3AButtonboxDefaultStyle" >ButtonboxDefaultStyle</A ></TD ></TR ><TR ><TD CLASS="decl" >| <A HREF="#v%3AButtonboxSpread" >ButtonboxSpread</A ></TD ></TR ><TR ><TD CLASS="decl" >| <A HREF="#v%3AButtonboxEdge" >ButtonboxEdge</A ></TD ></TR ><TR ><TD CLASS="decl" >| <A HREF="#v%3AButtonboxStart" >ButtonboxStart</A ></TD ></TR ><TR ><TD CLASS="decl" >| <A HREF="#v%3AButtonboxEnd" >ButtonboxEnd</A ></TD ></TR ><TR ><TD CLASS="decl" >| <A HREF="#v%3AButtonboxCenter" >ButtonboxCenter</A ></TD ></TR ></TABLE ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AbuttonBoxGetLayout" >buttonBoxGetLayout</A > :: <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > self => self -> <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-ButtonBox.html#t%3AButtonBoxStyle" >ButtonBoxStyle</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AbuttonBoxSetLayout" >buttonBoxSetLayout</A > :: <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > self => self -> <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxStyle" >ButtonBoxStyle</A > -> <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%3AbuttonBoxSetChildSecondary" >buttonBoxSetChildSecondary</A > :: (<A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass" >WidgetClass</A > child) => self -> child -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <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%3AbuttonBoxGetChildSecondary" >buttonBoxGetChildSecondary</A > :: (<A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass" >WidgetClass</A > child) => self -> child -> <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%3AbuttonBoxLayoutStyle" >buttonBoxLayoutStyle</A > :: <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > self => <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-ButtonBox.html#t%3AButtonBoxStyle" >ButtonBoxStyle</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AbuttonBoxChildSecondary" >buttonBoxChildSecondary</A > :: (<A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass" >WidgetClass</A > child) => child -> <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 ></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 >The primary purpose of this class is to keep track of the various properties of <TT ><A HREF="Graphics-UI-Gtk-Layout-HButtonBox.html#t%3AHButtonBox" >HButtonBox</A ></TT > and <TT ><A HREF="Graphics-UI-Gtk-Layout-VButtonBox.html#t%3AVButtonBox" >VButtonBox</A ></TT > widgets. </P ><P >buttonBoxGetChildSize retrieves the minimum width and height for widgets in a given button box. buttonBoxSetChildSize allows those properties to be changed. </P ><P >The internal padding of buttons can be retrieved and changed per button box using buttonBoxGetChildIpadding and buttonBoxSetChildIpadding respectively. </P ><P >buttonBoxGetSpacing and buttonBoxSetSpacing retrieve and change default number of pixels between buttons, respectively. </P ><P ><TT ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#v%3AbuttonBoxGetLayout" >buttonBoxGetLayout</A ></TT > and <TT ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#v%3AbuttonBoxSetLayout" >buttonBoxSetLayout</A ></TT > retrieve and alter the method used to spread the buttons in a button box across the container, respectively. </P ><P >The main purpose of <TT ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBox" >ButtonBox</A ></TT > is to make sure the children have all the same size. Therefore it ignores the homogeneous property which it inherited from <TT ><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox" >Box</A ></TT >, and always behaves as if homogeneous was <TT >True</TT >. </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 > | +----<TT ><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox" >Box</A ></TT > | +----ButtonBox | +----<TT ><A HREF="Graphics-UI-Gtk-Layout-HButtonBox.html#t%3AHButtonBox" >HButtonBox</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Layout-VButtonBox.html#t%3AVButtonBox" >VButtonBox</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:ButtonBox" ><A NAME="t%3AButtonBox" ></A ></A ><B >ButtonBox</B > </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#ButtonBox" >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:ButtonBox')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:ButtonBox" 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-ButtonBox.html#t%3AButtonBox" >ButtonBox</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-ButtonBox.html#t%3AButtonBox" >ButtonBox</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-ButtonBox.html#t%3AButtonBox" >ButtonBox</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</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-ButtonBox.html#t%3AButtonBox" >ButtonBox</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-ButtonBox.html#t%3AButtonBox" >ButtonBox</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-ButtonBox.html#t%3AButtonBox" >ButtonBox</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-ButtonBox.html#t%3AButtonBox" >ButtonBox</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-Box.html#t%3ABoxClass" >BoxClass</A > o => <A NAME="t:ButtonBoxClass" ><A NAME="t%3AButtonBoxClass" ></A ></A ><B >ButtonBoxClass</B > o </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#ButtonBoxClass" >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:ButtonBoxClass')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:ButtonBoxClass" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</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-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</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-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBox" >ButtonBox</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:castToButtonBox" ><A NAME="v%3AcastToButtonBox" ></A ></A ><B >castToButtonBox</B > :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass" >GObjectClass</A > obj => obj -> <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBox" >ButtonBox</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#castToButtonBox" >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:gTypeButtonBox" ><A NAME="v%3AgTypeButtonBox" ></A ></A ><B >gTypeButtonBox</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#gTypeButtonBox" >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:toButtonBox" ><A NAME="v%3AtoButtonBox" ></A ></A ><B >toButtonBox</B > :: <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > o => o -> <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBox" >ButtonBox</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#toButtonBox" >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:ButtonBoxStyle" ><A NAME="t%3AButtonBoxStyle" ></A ></A ><B >ButtonBoxStyle</B > </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-General-Enums.html#ButtonBoxStyle" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="ndoc" >Dictate the style that a ButtonBox uses to align it contents </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:ButtonboxDefaultStyle" ><A NAME="v%3AButtonboxDefaultStyle" ></A ></A ><B >ButtonboxDefaultStyle</B ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:ButtonboxSpread" ><A NAME="v%3AButtonboxSpread" ></A ></A ><B >ButtonboxSpread</B ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:ButtonboxEdge" ><A NAME="v%3AButtonboxEdge" ></A ></A ><B >ButtonboxEdge</B ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:ButtonboxStart" ><A NAME="v%3AButtonboxStart" ></A ></A ><B >ButtonboxStart</B ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:ButtonboxEnd" ><A NAME="v%3AButtonboxEnd" ></A ></A ><B >ButtonboxEnd</B ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" ><A NAME="v:ButtonboxCenter" ><A NAME="v%3AButtonboxCenter" ></A ></A ><B >ButtonboxCenter</B ></TD ><TD CLASS="rdoc" ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:ButtonBoxStyle')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:ButtonBoxStyle" 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-ButtonBox.html#t%3AButtonBoxStyle" >ButtonBoxStyle</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-ButtonBox.html#t%3AButtonBoxStyle" >ButtonBoxStyle</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-ButtonBox.html#t%3AButtonBoxStyle" >ButtonBoxStyle</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:buttonBoxGetLayout" ><A NAME="v%3AbuttonBoxGetLayout" ></A ></A ><B >buttonBoxGetLayout</B > :: <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > self => self -> <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-ButtonBox.html#t%3AButtonBoxStyle" >ButtonBoxStyle</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-ButtonBox.html#buttonBoxGetLayout" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Retrieves the method being used to arrange the buttons in the button box. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:buttonBoxSetLayout" ><A NAME="v%3AbuttonBoxSetLayout" ></A ></A ><B >buttonBoxSetLayout</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-ButtonBox.html#buttonBoxSetLayout" >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-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxStyle" >ButtonBoxStyle</A ></TD ><TD CLASS="rdoc" ><TT >layoutStyle</TT > - the new layout style. </TD ></TR ><TR ><TD CLASS="arg" >-> <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" >Changes the way buttons are arranged in their container. </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:buttonBoxSetChildSecondary" ><A NAME="v%3AbuttonBoxSetChildSecondary" ></A ></A ><B >buttonBoxSetChildSecondary</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-ButtonBox.html#buttonBoxSetChildSecondary" >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-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</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" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> child</TD ><TD CLASS="rdoc" ><TT >child</TT > - a child of the button box widget </TD ></TR ><TR ><TD CLASS="arg" >-> <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 >isSecondary</TT > - if <TT >True</TT >, the <TT >child</TT > appears in a secondary group of the button box. </TD ></TR ><TR ><TD CLASS="arg" >-> <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 >Sets whether <TT >child</TT > should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog. </P ><P >This group appears after the other children if the style is <TT ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#v%3AButtonboxStart" >ButtonboxStart</A ></TT >, <TT ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#v%3AButtonboxSpread" >ButtonboxSpread</A ></TT > or <TT ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#v%3AButtonboxEdge" >ButtonboxEdge</A ></TT >, and before the other children if the style is <TT ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#v%3AButtonboxEnd" >ButtonboxEnd</A ></TT >. For horizontal button boxes, the definition of before/after depends on direction of the widget (see widgetSetDirection). If the style is <TT ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#v%3AButtonboxStart" >ButtonboxStart</A ></TT > or <TT ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#v%3AButtonboxEnd" >ButtonboxEnd</A ></TT >, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children. </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:buttonBoxGetChildSecondary" ><A NAME="v%3AbuttonBoxGetChildSecondary" ></A ></A ><B >buttonBoxGetChildSecondary</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-ButtonBox.html#buttonBoxGetChildSecondary" >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-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</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" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> child</TD ><TD CLASS="rdoc" ><TT >child</TT > - a child of the button box widget </TD ></TR ><TR ><TD CLASS="arg" >-> <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 whether <TT >child</TT > should appear in a secondary group of children. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" ><P >Returns whether <TT >child</TT > should appear in a secondary group of children. </P ><UL ><LI > Available since Gtk+ version 2.4 </LI ></UL ></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:buttonBoxLayoutStyle" ><A NAME="v%3AbuttonBoxLayoutStyle" ></A ></A ><B >buttonBoxLayoutStyle</B > :: <A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > self => <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-ButtonBox.html#t%3AButtonBoxStyle" >ButtonBoxStyle</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Abstract-ButtonBox.html#buttonBoxLayoutStyle" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >How to layout the buttons in the box. Possible values are default, spread, edge, start and end. </P ><P >Default value: <TT ><A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#v%3AButtonboxDefaultStyle" >ButtonboxDefaultStyle</A ></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:buttonBoxChildSecondary" ><A NAME="v%3AbuttonBoxChildSecondary" ></A ></A ><B >buttonBoxChildSecondary</B > :: (<A HREF="Graphics-UI-Gtk-Abstract-ButtonBox.html#t%3AButtonBoxClass" >ButtonBoxClass</A > self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass" >WidgetClass</A > child) => child -> <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-ButtonBox.html#buttonBoxChildSecondary" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >If <TT >True</TT >, the child appears in a secondary group of children, suitable for, e.g., help buttons. </P ><P >Default value: <TT >False</TT > </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 >