|
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 : /proc/21585/root/usr/share/gtk-doc/html/gtk/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GtkSizeGroup</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="MiscObjects.html" title="Miscellaneous">
<link rel="prev" href="GtkIMMulticontext.html" title="GtkIMMulticontext">
<link rel="next" href="GtkTooltips.html" title="GtkTooltips">
<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 I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. 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 IV. 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 V. 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="GtkIMMulticontext.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="MiscObjects.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="GtkTooltips.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="#id3611112" class="shortcut">Top</a>
 | 
<a href="#id3612317" class="shortcut">Description</a>
 | 
<a href="#id3612241" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3612266" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkSizeGroup"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3611112"></a><span class="refentrytitle">GtkSizeGroup</span>
</h2>
<p>GtkSizeGroup — Grouping widgets so they request the same size</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
<a href="GtkSizeGroup.html#GtkSizeGroup-struct">GtkSizeGroup</a>;
enum <a href="GtkSizeGroup.html#GtkSizeGroupMode">GtkSizeGroupMode</a>;
<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a>* <a href="GtkSizeGroup.html#gtk-size-group-new">gtk_size_group_new</a> (<a href="GtkSizeGroup.html#GtkSizeGroupMode">GtkSizeGroupMode</a> mode);
void <a href="GtkSizeGroup.html#gtk-size-group-set-mode">gtk_size_group_set_mode</a> (<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group,
<a href="GtkSizeGroup.html#GtkSizeGroupMode">GtkSizeGroupMode</a> mode);
<a href="GtkSizeGroup.html#GtkSizeGroupMode">GtkSizeGroupMode</a> <a href="GtkSizeGroup.html#gtk-size-group-get-mode">gtk_size_group_get_mode</a> (<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group);
void <a href="GtkSizeGroup.html#gtk-size-group-set-ignore-hidden">gtk_size_group_set_ignore_hidden</a>
(<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> ignore_hidden);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkSizeGroup.html#gtk-size-group-get-ignore-hidden">gtk_size_group_get_ignore_hidden</a>
(<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group);
void <a href="GtkSizeGroup.html#gtk-size-group-add-widget">gtk_size_group_add_widget</a> (<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget);
void <a href="GtkSizeGroup.html#gtk-size-group-remove-widget">gtk_size_group_remove_widget</a> (<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget);
<a
href="../glib/glib-Singly-Linked-Lists.html#GSList"
>GSList</a>* <a href="GtkSizeGroup.html#gtk-size-group-get-widgets">gtk_size_group_get_widgets</a> (<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3612241"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GtkSizeGroup
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3612266"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GtkSizeGroup.html#GtkSizeGroup--ignore-hidden">ignore-hidden</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkSizeGroup.html#GtkSizeGroup--mode">mode</a>" <a href="GtkSizeGroup.html#GtkSizeGroupMode">GtkSizeGroupMode</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3612317"></a><h2>Description</h2>
<p>
<a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> provides a mechanism for grouping a number of widgets
together so they all request the same amount of space. This is
typically useful when you want a column of widgets to have the same
size, but you can't use a <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> widget.
</p>
<p>
In detail, the size requested for each widget in a <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> is
the maximum of the sizes that would have been requested for each
widget in the size group if they were not in the size group. The mode
of the size group (see <a href="GtkSizeGroup.html#gtk-size-group-set-mode"><code class="function">gtk_size_group_set_mode()</code></a>) determines whether
this applies to the horizontal size, the vertical size, or both sizes.
</p>
<p>
Note that size groups only affect the amount of space requested, not
the size that the widgets finally receive. If you want the widgets in
a <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> to actually be the same size, you need to pack them in
such a way that they get the size they request and not more. For
example, if you are packing your widgets into a table, you would not
include the <a href="gtk-Standard-Enumerations.html#GTK-FILL:CAPS"><code class="literal">GTK_FILL</code></a> flag.
</p>
<p>
<a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a> objects are referenced by each widget in the size group,
so once you have added all widgets to a <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>, you can drop
the initial reference to the size group with <a
href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"
><code class="function">g_object_unref()</code></a>. If the
widgets in the size group are subsequently destroyed, then they will
be removed from the size group and drop their references on the size
group; when all widgets have been removed, the size group will be
freed.
</p>
<p>
Widgets can be part of multiple size groups; GTK+ will compute the
horizontal size of a widget from the horizontal requisition of all
widgets that can be reached from the widget by a chain of size groups
of type <a href="GtkSizeGroup.html#GTK-SIZE-GROUP-HORIZONTAL:CAPS"><code class="literal">GTK_SIZE_GROUP_HORIZONTAL</code></a> or <a href="GtkSizeGroup.html#GTK-SIZE-GROUP-BOTH:CAPS"><code class="literal">GTK_SIZE_GROUP_BOTH</code></a>, and the
vertical size from the vertical requisition of all widgets that can be
reached from the widget by a chain of size groups of type
<a href="GtkSizeGroup.html#GTK-SIZE-GROUP-VERTICAL:CAPS"><code class="literal">GTK_SIZE_GROUP_VERTICAL</code></a> or <a href="GtkSizeGroup.html#GTK-SIZE-GROUP-BOTH:CAPS"><code class="literal">GTK_SIZE_GROUP_BOTH</code></a>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3612503"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3612513"></a><h3>
<a name="GtkSizeGroup-struct"></a>GtkSizeGroup</h3>
<a class="indexterm" name="id3612525"></a><pre class="programlisting">typedef struct _GtkSizeGroup GtkSizeGroup;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3612541"></a><h3>
<a name="GtkSizeGroupMode"></a>enum GtkSizeGroupMode</h3>
<a class="indexterm" name="id3612554"></a><pre class="programlisting">typedef enum {
GTK_SIZE_GROUP_NONE,
GTK_SIZE_GROUP_HORIZONTAL,
GTK_SIZE_GROUP_VERTICAL,
GTK_SIZE_GROUP_BOTH
} GtkSizeGroupMode;
</pre>
<p>
The mode of the size group determines the directions in which the size
group affects the requested sizes of its component widgets.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><a name="GTK-SIZE-GROUP-NONE:CAPS"></a><code class="literal">GTK_SIZE_GROUP_NONE</code></span></td>
<td> group has no effect
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-SIZE-GROUP-HORIZONTAL:CAPS"></a><code class="literal">GTK_SIZE_GROUP_HORIZONTAL</code></span></td>
<td> group affects horizontal requisition
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-SIZE-GROUP-VERTICAL:CAPS"></a><code class="literal">GTK_SIZE_GROUP_VERTICAL</code></span></td>
<td> group affects vertical requisition
</td>
</tr>
<tr>
<td>
<span class="term"><a name="GTK-SIZE-GROUP-BOTH:CAPS"></a><code class="literal">GTK_SIZE_GROUP_BOTH</code></span></td>
<td> group affects both horizontal and vertical requisition
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3612672"></a><h3>
<a name="gtk-size-group-new"></a>gtk_size_group_new ()</h3>
<a class="indexterm" name="id3612685"></a><pre class="programlisting"><a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a>* gtk_size_group_new (<a href="GtkSizeGroup.html#GtkSizeGroupMode">GtkSizeGroupMode</a> mode);</pre>
<p>
Create a new <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>mode</code></em> :</span></td>
<td> the mode for the new size group.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> a newly created <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3612762"></a><h3>
<a name="gtk-size-group-set-mode"></a>gtk_size_group_set_mode ()</h3>
<a class="indexterm" name="id3612775"></a><pre class="programlisting">void gtk_size_group_set_mode (<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group,
<a href="GtkSizeGroup.html#GtkSizeGroupMode">GtkSizeGroupMode</a> mode);</pre>
<p>
Sets the <a href="GtkSizeGroup.html#GtkSizeGroupMode"><span class="type">GtkSizeGroupMode</span></a> of the size group. The mode of the size
group determines whether the widgets in the size group should
all have the same horizontal requisition (<code class="literal">GTK_SIZE_GROUP_MODE_HORIZONTAL</code>)
all have the same vertical requisition (<code class="literal">GTK_SIZE_GROUP_MODE_VERTICAL</code>),
or should all have the same requisition in both directions
(<code class="literal">GTK_SIZE_GROUP_MODE_BOTH</code>).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>size_group</code></em> :</span></td>
<td> a <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>mode</code></em> :</span></td>
<td> the mode to set for the size group.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3612906"></a><h3>
<a name="gtk-size-group-get-mode"></a>gtk_size_group_get_mode ()</h3>
<a class="indexterm" name="id3612919"></a><pre class="programlisting"><a href="GtkSizeGroup.html#GtkSizeGroupMode">GtkSizeGroupMode</a> gtk_size_group_get_mode (<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group);</pre>
<p>
Gets the current mode of the size group. See <a href="GtkSizeGroup.html#gtk-size-group-set-mode"><code class="function">gtk_size_group_set_mode()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>size_group</code></em> :</span></td>
<td> a <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the current mode of the size group.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3612999"></a><h3>
<a name="gtk-size-group-set-ignore-hidden"></a>gtk_size_group_set_ignore_hidden ()</h3>
<a class="indexterm" name="id3613015"></a><pre class="programlisting">void gtk_size_group_set_ignore_hidden
(<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> ignore_hidden);</pre>
<p>
Sets whether unmapped widgets should be ignored when
calculating the size.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>size_group</code></em> :</span></td>
<td> a <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>ignore_hidden</code></em> :</span></td>
<td> whether unmapped widgets should be ignored
when calculating the size
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.8
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3613102"></a><h3>
<a name="gtk-size-group-get-ignore-hidden"></a>gtk_size_group_get_ignore_hidden ()</h3>
<a class="indexterm" name="id3613118"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_size_group_get_ignore_hidden
(<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group);</pre>
<p>
Returns if invisible widgets are ignored when calculating the size.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>size_group</code></em> :</span></td>
<td> a <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if invisible widgets are ignored.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.8
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3613204"></a><h3>
<a name="gtk-size-group-add-widget"></a>gtk_size_group_add_widget ()</h3>
<a class="indexterm" name="id3613218"></a><pre class="programlisting">void gtk_size_group_add_widget (<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget);</pre>
<p>
Adds a widget to a <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>. In the future, the requisition
of the widget will be determined as the maximum of its requisition
and the requisition of the other widgets in the size group.
Whether this applies horizontally, vertically, or in both directions
depends on the mode of the size group. See <a href="GtkSizeGroup.html#gtk-size-group-set-mode"><code class="function">gtk_size_group_set_mode()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>size_group</code></em> :</span></td>
<td> a <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
<td> the <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to add
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3613328"></a><h3>
<a name="gtk-size-group-remove-widget"></a>gtk_size_group_remove_widget ()</h3>
<a class="indexterm" name="id3613342"></a><pre class="programlisting">void gtk_size_group_remove_widget (<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group,
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget);</pre>
<p>
Removes a widget from a <a href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="type">GtkSizeGroup</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>size_group</code></em> :</span></td>
<td> a <span class="type">GtkSizeGrup</span>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
<td> the <a href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to remove
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3613439"></a><h3>
<a name="gtk-size-group-get-widgets"></a>gtk_size_group_get_widgets ()</h3>
<a class="indexterm" name="id3613455"></a><pre class="programlisting"><a
href="../glib/glib-Singly-Linked-Lists.html#GSList"
>GSList</a>* gtk_size_group_get_widgets (<a href="GtkSizeGroup.html" title="GtkSizeGroup">GtkSizeGroup</a> *size_group);</pre>
<p>
Returns the list of widgets associated with <em class="parameter"><code>size_group</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>size_group</code></em> :</span></td>
<td> a <span class="type">GtkSizeGrup</span>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> a <a
href="../glib/glib-Singly-Linked-Lists.html#GSList"
><span class="type">GSList</span></a> of widgets. The list is owned by GTK+
and should not be modified.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3613544"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3613555"></a><h3>
<a name="GtkSizeGroup--ignore-hidden"></a>The "<code class="literal">ignore-hidden</code>" property</h3>
<a class="indexterm" name="id3613571"></a><pre class="programlisting"> "ignore-hidden" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
If <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, unmapped widgets are ignored when determining
the size of the group.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.8
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3613618"></a><h3>
<a name="GtkSizeGroup--mode"></a>The "<code class="literal">mode</code>" property</h3>
<a class="indexterm" name="id3613633"></a><pre class="programlisting"> "mode" <a href="GtkSizeGroup.html#GtkSizeGroupMode">GtkSizeGroupMode</a> : Read / Write</pre>
<p>The directions in which the size group affects the requested sizes of its component widgets.</p>
<p>Default value: GTK_SIZE_GROUP_HORIZONTAL</p>
</div>
</div>
</div>
</body>
</html>