KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/share/gtk-doc/html/gtk/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/gtk-doc/html/gtk/GtkButtonBox.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GtkButtonBox</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="prev" href="GtkBox.html" title="GtkBox">
<link rel="next" href="GtkContainer.html" title="GtkContainer">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part&#160;I.&#160;GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part&#160;II.&#160;GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part&#160;III.&#160;GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part&#160;IV.&#160;Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and 
         GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="part" href="pt05.html" title="Part&#160;V.&#160;GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkBox.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="AbstractObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkContainer.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3630886" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id3631484" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id3631230" class="shortcut">Object Hierarchy</a>
                  &#160;|&#160;
                  <a href="#id3631307" class="shortcut">Implemented Interfaces</a>
                  &#160;|&#160;
                  <a href="#id3631330" class="shortcut">Properties</a>
                  &#160;|&#160;
                  <a href="#id3631364" class="shortcut">Child Properties</a>
                  &#160;|&#160;
                  <a href="#id3631399" class="shortcut">Style Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkButtonBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3630886"></a><span class="refentrytitle">GtkButtonBox</span>
</h2>
<p>GtkButtonBox &#8212; Base class for <a href="GtkHButtonBox.html" title="GtkHButtonBox"><span class="type">GtkHButtonBox</span></a> and <a href="GtkVButtonBox.html" title="GtkVButtonBox"><span class="type">GtkVButtonBox</span></a></p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;gtk/gtk.h&gt;


            <a href="GtkButtonBox.html#GtkButtonBox-struct">GtkButtonBox</a>;
#define     <a href="GtkButtonBox.html#GTK-BUTTONBOX-DEFAULT:CAPS">GTK_BUTTONBOX_DEFAULT</a>
#define     <a href="GtkButtonBox.html#gtk-button-box-get-spacing">gtk_button_box_get_spacing</a>      (b)
<a href="gtk-Standard-Enumerations.html#GtkButtonBoxStyle">GtkButtonBoxStyle</a> <a href="GtkButtonBox.html#gtk-button-box-get-layout">gtk_button_box_get_layout</a> (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget);
void        <a href="GtkButtonBox.html#gtk-button-box-get-child-size">gtk_button_box_get_child_size</a>   (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *min_width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *min_height);
void        <a href="GtkButtonBox.html#gtk-button-box-get-child-ipadding">gtk_button_box_get_child_ipadding</a>
                                            (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *ipad_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *ipad_y);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkButtonBox.html#gtk-button-box-get-child-secondary">gtk_button_box_get_child_secondary</a>
                                            (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);
#define     <a href="GtkButtonBox.html#gtk-button-box-set-spacing">gtk_button_box_set_spacing</a>      (b,s)
void        <a href="GtkButtonBox.html#gtk-button-box-set-layout">gtk_button_box_set_layout</a>       (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a href="gtk-Standard-Enumerations.html#GtkButtonBoxStyle">GtkButtonBoxStyle</a> layout_style);
void        <a href="GtkButtonBox.html#gtk-button-box-set-child-size">gtk_button_box_set_child_size</a>   (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> min_width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> min_height);
void        <a href="GtkButtonBox.html#gtk-button-box-set-child-ipadding">gtk_button_box_set_child_ipadding</a>
                                            (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ipad_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ipad_y);
void        <a href="GtkButtonBox.html#gtk-button-box-set-child-secondary">gtk_button_box_set_child_secondary</a>
                                            (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> is_secondary);


</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3631230"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">

  <a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
         +----<a href="GtkObject.html" title="GtkObject">GtkObject</a>
               +----<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
                     +----<a href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
                           +----<a href="GtkBox.html" title="GtkBox">GtkBox</a>
                                 +----GtkButtonBox
                                       +----<a href="GtkHButtonBox.html" title="GtkHButtonBox">GtkHButtonBox</a>
                                       +----<a href="GtkVButtonBox.html" title="GtkVButtonBox">GtkVButtonBox</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3631307"></a><h2>Implemented Interfaces</h2>
<p>
GtkButtonBox implements
 AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3631330"></a><h2>Properties</h2>
<pre class="synopsis">

  "<a href="GtkButtonBox.html#GtkButtonBox--layout-style">layout-style</a>"         <a href="gtk-Standard-Enumerations.html#GtkButtonBoxStyle">GtkButtonBoxStyle</a>     : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3631364"></a><h2>Child Properties</h2>
<pre class="synopsis">

  "<a href="GtkButtonBox.html#GtkButtonBox--secondary">secondary</a>"            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3631399"></a><h2>Style Properties</h2>
<pre class="synopsis">

  "<a href="GtkButtonBox.html#GtkButtonBox--child-internal-pad-x">child-internal-pad-x</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a href="GtkButtonBox.html#GtkButtonBox--child-internal-pad-y">child-internal-pad-y</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a href="GtkButtonBox.html#GtkButtonBox--child-min-height">child-min-height</a>"     <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a href="GtkButtonBox.html#GtkButtonBox--child-min-width">child-min-width</a>"      <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3631484"></a><h2>Description</h2>
<p>
The primary purpose of this class is to keep track of the various properties
of <a href="GtkHButtonBox.html" title="GtkHButtonBox"><span class="type">GtkHButtonBox</span></a> and <a href="GtkVButtonBox.html" title="GtkVButtonBox"><span class="type">GtkVButtonBox</span></a> widgets.
</p>
<p>
<a href="GtkButtonBox.html#gtk-button-box-get-child-size"><code class="function">gtk_button_box_get_child_size()</code></a> retrieves the minimum width and height 
for widgets in a given button box. <a href="GtkButtonBox.html#gtk-button-box-set-child-size"><code class="function">gtk_button_box_set_child_size()</code></a> 
allows those properties to be changed.
</p>
<p>
The internal padding of buttons can be retrieved and changed per button box using
<a href="GtkButtonBox.html#gtk-button-box-get-child-ipadding"><code class="function">gtk_button_box_get_child_ipadding()</code></a> and <a href="GtkButtonBox.html#gtk-button-box-set-child-ipadding"><code class="function">gtk_button_box_set_child_ipadding()</code></a>
respectively.
</p>
<p>
<a href="GtkButtonBox.html#gtk-button-box-get-spacing"><code class="function">gtk_button_box_get_spacing()</code></a> and <a href="GtkButtonBox.html#gtk-button-box-set-spacing"><code class="function">gtk_button_box_set_spacing()</code></a> retrieve and
change default number of pixels between buttons, respectively.
</p>
<p>
<a href="GtkButtonBox.html#gtk-button-box-get-layout"><code class="function">gtk_button_box_get_layout()</code></a> and <a href="GtkButtonBox.html#gtk-button-box-set-layout"><code class="function">gtk_button_box_set_layout()</code></a> retrieve and alter the method
used to spread the buttons in a button box across the container, respectively.
</p>
<p>
The main purpose of GtkButtonBox is to make sure the children have all the same size.
Therefore it ignores the homogeneous property which it inherited from GtkBox, and always
behaves as if homogeneous was <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3631643"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3631653"></a><h3>
<a name="GtkButtonBox-struct"></a>GtkButtonBox</h3>
<a class="indexterm" name="id3631666"></a><pre class="programlisting">typedef struct _GtkButtonBox GtkButtonBox;</pre>
<p>
This is a read-only struct; no members should be modified directly.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3631683"></a><h3>
<a name="GTK-BUTTONBOX-DEFAULT:CAPS"></a>GTK_BUTTONBOX_DEFAULT</h3>
<a class="indexterm" name="id3631696"></a><pre class="programlisting">#define GTK_BUTTONBOX_DEFAULT -1
</pre>
<p>
Used internally only.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3631712"></a><h3>
<a name="gtk-button-box-get-spacing"></a>gtk_button_box_get_spacing()</h3>
<a class="indexterm" name="id3631728"></a><pre class="programlisting">#define gtk_button_box_get_spacing(b)   gtk_box_get_spacing (GTK_BOX (b))
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_button_box_get_spacing</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Retrieves how much space a button box is placing between each child button.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td>a <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>the current spacing applied to the buttons in <em class="parameter"><code>widget</code></em>.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3631801"></a><h3>
<a name="gtk-button-box-get-layout"></a>gtk_button_box_get_layout ()</h3>
<a class="indexterm" name="id3631814"></a><pre class="programlisting"><a href="gtk-Standard-Enumerations.html#GtkButtonBoxStyle">GtkButtonBoxStyle</a> gtk_button_box_get_layout (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget);</pre>
<p>
Retrieves the method being used to arrange the buttons in a button box.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td>a <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>the method used to layout buttons in <em class="parameter"><code>widget</code></em>.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3631887"></a><h3>
<a name="gtk-button-box-get-child-size"></a>gtk_button_box_get_child_size ()</h3>
<a class="indexterm" name="id3631903"></a><pre class="programlisting">void        gtk_button_box_get_child_size   (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *min_width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *min_height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_button_box_get_child_size</code> is deprecated and should not be used in newly-written code. Use the style properties
<code class="literal">"child-min-width/-height"</code> instead.</p>
</div>
<p>
Retrieves the current width and height of all child widgets in a button box.
<em class="parameter"><code>min_width</code></em> and <em class="parameter"><code>min_height</code></em> are filled with those values, respectively.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td>a <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>min_width</code></em>&#160;:</span></td>
<td>the width of the buttons contained by <em class="parameter"><code>widget</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>min_height</code></em>&#160;:</span></td>
<td>the height of the buttons contained by <em class="parameter"><code>widget</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3632047"></a><h3>
<a name="gtk-button-box-get-child-ipadding"></a>gtk_button_box_get_child_ipadding ()</h3>
<a class="indexterm" name="id3632063"></a><pre class="programlisting">void        gtk_button_box_get_child_ipadding
                                            (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *ipad_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *ipad_y);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_button_box_get_child_ipadding</code> is deprecated and should not be used in newly-written code. Use the style properties
<code class="literal">"child-internal-pad-x/-y"</code> instead.</p>
</div>
<p>
Gets the default number of pixels that pad the buttons in a given button box.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td>a <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>ipad_x</code></em>&#160;:</span></td>
<td>the horizontal padding used by buttons in <em class="parameter"><code>widget</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>ipad_y</code></em>&#160;:</span></td>
<td>the vertical padding used by buttons in <em class="parameter"><code>widget</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3632195"></a><h3>
<a name="gtk-button-box-get-child-secondary"></a>gtk_button_box_get_child_secondary ()</h3>
<a class="indexterm" name="id3632211"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_button_box_get_child_secondary
                                            (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child);</pre>
<p>
Returns whether <em class="parameter"><code>child</code></em> should appear in a secondary group of children.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> a <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>child</code></em>&#160;:</span></td>
<td> a child of <em class="parameter"><code>widget</code></em> 
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> whether <em class="parameter"><code>child</code></em> should appear in a secondary group of children.

</td>
</tr>
</tbody>
</table></div>
<p>Since  2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3632325"></a><h3>
<a name="gtk-button-box-set-spacing"></a>gtk_button_box_set_spacing()</h3>
<a class="indexterm" name="id3632341"></a><pre class="programlisting">#define gtk_button_box_set_spacing(b,s) gtk_box_set_spacing (GTK_BOX (b), s)
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_button_box_set_spacing</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Sets the amount of spacing between buttons in a given button box.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td>a <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>s</code></em>&#160;:</span></td>
<td>the number of pixels of spacing.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3632410"></a><h3>
<a name="gtk-button-box-set-layout"></a>gtk_button_box_set_layout ()</h3>
<a class="indexterm" name="id3632424"></a><pre class="programlisting">void        gtk_button_box_set_layout       (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a href="gtk-Standard-Enumerations.html#GtkButtonBoxStyle">GtkButtonBoxStyle</a> layout_style);</pre>
<p>
Changes the way buttons are arranged in their container.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td>a <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>layout_style</code></em>&#160;:</span></td>
<td>the new layout style.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3632502"></a><h3>
<a name="gtk-button-box-set-child-size"></a>gtk_button_box_set_child_size ()</h3>
<a class="indexterm" name="id3632518"></a><pre class="programlisting">void        gtk_button_box_set_child_size   (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> min_width,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> min_height);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_button_box_set_child_size</code> is deprecated and should not be used in newly-written code. Use the style properties
<code class="literal">"child-min-width/-height"</code> instead.</p>
</div>
<p>
Sets a new default size for the children of a given button box.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td>a <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>min_width</code></em>&#160;:</span></td>
<td>a default width for buttons in <em class="parameter"><code>widget</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>min_height</code></em>&#160;:</span></td>
<td>a default height for buttons in <em class="parameter"><code>widget</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3632648"></a><h3>
<a name="gtk-button-box-set-child-ipadding"></a>gtk_button_box_set_child_ipadding ()</h3>
<a class="indexterm" name="id3632665"></a><pre class="programlisting">void        gtk_button_box_set_child_ipadding
                                            (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ipad_x,
                                             <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ipad_y);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_button_box_set_child_ipadding</code> is deprecated and should not be used in newly-written code. Use the style properties
<code class="literal">"child-internal-pad-x/-y"</code> instead.</p>
</div>
<p>
Changes the amount of internal padding used by all buttons in a given button
box.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td>a <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>ipad_x</code></em>&#160;:</span></td>
<td>the horizontal padding that should be used by each button in <em class="parameter"><code>widget</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>ipad_y</code></em>&#160;:</span></td>
<td>the vertical padding that should be used by each button in <em class="parameter"><code>widget</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3632797"></a><h3>
<a name="gtk-button-box-set-child-secondary"></a>gtk_button_box_set_child_secondary ()</h3>
<a class="indexterm" name="id3632812"></a><pre class="programlisting">void        gtk_button_box_set_child_secondary
                                            (<a href="GtkButtonBox.html" title="GtkButtonBox">GtkButtonBox</a> *widget,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> is_secondary);</pre>
<p>
Sets whether <em class="parameter"><code>child</code></em> 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 <a href="gtk-Standard-Enumerations.html#GTK-BUTTONBOX-START:CAPS"><code class="literal">GTK_BUTTONBOX_START</code></a>, <a href="gtk-Standard-Enumerations.html#GTK-BUTTONBOX-SPREAD:CAPS"><code class="literal">GTK_BUTTONBOX_SPREAD</code></a> or
<a href="gtk-Standard-Enumerations.html#GTK-BUTTONBOX-EDGE:CAPS"><code class="literal">GTK_BUTTONBOX_EDGE</code></a>, and before the other children if the style
is <a href="gtk-Standard-Enumerations.html#GTK-BUTTONBOX-END:CAPS"><code class="literal">GTK_BUTTONBOX_END</code></a>. For horizontal button boxes, the definition
of before/after depends on direction of the widget (see
<a href="GtkWidget.html#gtk-widget-set-direction"><code class="function">gtk_widget_set_direction()</code></a>). If the style is <a href="gtk-Standard-Enumerations.html#GTK-BUTTONBOX-START:CAPS"><code class="literal">GTK_BUTTONBOX_START</code></a>
or <a href="gtk-Standard-Enumerations.html#GTK-BUTTONBOX-END:CAPS"><code class="literal">GTK_BUTTONBOX_END</code></a>, 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>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> a <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>child</code></em>&#160;:</span></td>
<td> a child of <em class="parameter"><code>widget</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>is_secondary</code></em>&#160;:</span></td>
<td> if <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, the <em class="parameter"><code>child</code></em> appears in a secondary group of the
               button box.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3633038"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3633048"></a><h3>
<a name="GtkButtonBox--layout-style"></a>The "<code class="literal">layout-style</code>" property</h3>
<a class="indexterm" name="id3633064"></a><pre class="programlisting">  "layout-style"         <a href="gtk-Standard-Enumerations.html#GtkButtonBoxStyle">GtkButtonBoxStyle</a>     : Read / Write</pre>
<p>How to layout the buttons in the box. Possible values are default, spread, edge, start and end.</p>
<p>Default value: GTK_BUTTONBOX_DEFAULT_STYLE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3633094"></a><h2>Child Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3633105"></a><h3>
<a name="GtkButtonBox--secondary"></a>The "<code class="literal">secondary</code>" child property</h3>
<a class="indexterm" name="id3633121"></a><pre class="programlisting">  "secondary"            <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>If TRUE, the child appears in a secondary group of children, suitable for, e.g., help buttons.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3633150"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3633161"></a><h3>
<a name="GtkButtonBox--child-internal-pad-x"></a>The "<code class="literal">child-internal-pad-x</code>" style property</h3>
<a class="indexterm" name="id3633179"></a><pre class="programlisting">  "child-internal-pad-x" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Amount to increase child's size on either side.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3633210"></a><h3>
<a name="GtkButtonBox--child-internal-pad-y"></a>The "<code class="literal">child-internal-pad-y</code>" style property</h3>
<a class="indexterm" name="id3633227"></a><pre class="programlisting">  "child-internal-pad-y" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Amount to increase child's size on the top and bottom.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3633258"></a><h3>
<a name="GtkButtonBox--child-min-height"></a>The "<code class="literal">child-min-height</code>" style property</h3>
<a class="indexterm" name="id3633275"></a><pre class="programlisting">  "child-min-height"     <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Minimum height of buttons inside the box.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 27</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3633305"></a><h3>
<a name="GtkButtonBox--child-min-width"></a>The "<code class="literal">child-min-width</code>" style property</h3>
<a class="indexterm" name="id3633322"></a><pre class="programlisting">  "child-min-width"      <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Minimum width of buttons inside the box.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 85</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3633354"></a><h2>See Also</h2>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><a href="GtkVButtonBox.html" title="GtkVButtonBox"><span class="type">GtkVButtonBox</span></a></span></td>
<td><p>Vertical sub-class of <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>.</p></td>
</tr>
<tr>
<td>
<span class="term"><a href="GtkHButtonBox.html" title="GtkHButtonBox"><span class="type">GtkHButtonBox</span></a></span></td>
<td><p>Horizontal sub-class of <a href="GtkButtonBox.html" title="GtkButtonBox"><span class="type">GtkButtonBox</span></a>.</p></td>
</tr>
</tbody>
</table></div>
<p>
</p>
</div>
</div>
</body>
</html>

Anon7 - 2021