Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkTable: GTK+ 2 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
<link rel="up" href="LayoutContainers.html" title="Layout Containers">
<link rel="prev" href="GtkNotebook.html" title="GtkNotebook">
<link rel="next" href="GtkExpander.html" title="GtkExpander">
<meta name="generator" content="GTK-Doc V1.26.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GtkTable.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GtkTable.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#GtkTable.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GtkTable.properties" class="shortcut">Properties</a></span><span id="nav_child_properties">  <span class="dim">|</span> 
                  <a href="#GtkTable.child-properties" class="shortcut">Child Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="LayoutContainers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GtkNotebook.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GtkExpander.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GtkTable"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkTable.top_of_page"></a>GtkTable</span></h2>
<p>GtkTable</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GtkTable.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-new" title="gtk_table_new ()">gtk_table_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-resize" title="gtk_table_resize ()">gtk_table_resize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-attach" title="gtk_table_attach ()">gtk_table_attach</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-attach-defaults" title="gtk_table_attach_defaults ()">gtk_table_attach_defaults</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-set-row-spacing" title="gtk_table_set_row_spacing ()">gtk_table_set_row_spacing</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-set-col-spacing" title="gtk_table_set_col_spacing ()">gtk_table_set_col_spacing</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-set-row-spacings" title="gtk_table_set_row_spacings ()">gtk_table_set_row_spacings</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-set-col-spacings" title="gtk_table_set_col_spacings ()">gtk_table_set_col_spacings</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-set-homogeneous" title="gtk_table_set_homogeneous ()">gtk_table_set_homogeneous</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-get-default-row-spacing" title="gtk_table_get_default_row_spacing ()">gtk_table_get_default_row_spacing</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-get-homogeneous" title="gtk_table_get_homogeneous ()">gtk_table_get_homogeneous</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-get-row-spacing" title="gtk_table_get_row_spacing ()">gtk_table_get_row_spacing</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-get-col-spacing" title="gtk_table_get_col_spacing ()">gtk_table_get_col_spacing</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-get-default-col-spacing" title="gtk_table_get_default_col_spacing ()">gtk_table_get_default_col_spacing</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkTable.html#gtk-table-get-size" title="gtk_table_get_size ()">gtk_table_get_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkTable.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--column-spacing" title="The “column-spacing” property">column-spacing</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--homogeneous" title="The “homogeneous” property">homogeneous</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--n-columns" title="The “n-columns” property">n-columns</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--n-rows" title="The “n-rows” property">n-rows</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--row-spacing" title="The “row-spacing” property">row-spacing</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkTable.child-properties"></a><h2>Child Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="child_properties_type">
<col width="300px" class="child_properties_name">
<col width="200px" class="child_properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--c-bottom-attach" title="The “bottom-attach” child property">bottom-attach</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--c-left-attach" title="The “left-attach” child property">left-attach</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--c-right-attach" title="The “right-attach” child property">right-attach</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--c-top-attach" title="The “top-attach” child property">top-attach</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="gtk2-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--c-x-options" title="The “x-options” child property">x-options</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--c-x-padding" title="The “x-padding” child property">x-padding</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="gtk2-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--c-y-options" title="The “y-options” child property">y-options</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GtkTable.html#GtkTable--c-y-padding" title="The “y-padding” child property">y-padding</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkTable.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GtkTable.html#GtkTable-struct" title="struct GtkTable">GtkTable</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkTable.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
        <span class="lineart">╰──</span> <a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
            <span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
                <span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
                    <span class="lineart">╰──</span> GtkTable
</pre>
</div>
<div class="refsect1">
<a name="GtkTable.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkTable implements
 AtkImplementorIface and  <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="GtkTable.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gtk/gtk.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GtkTable.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="GtkTable.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gtk-table-new"></a><h3>gtk_table_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
gtk_table_new (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> rows</code></em>,
               <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> columns</code></em>,
               <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-resize"></a><h3>gtk_table_resize ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_table_resize (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> rows</code></em>,
                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> columns</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-attach"></a><h3>gtk_table_attach ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_table_attach (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                  <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> left_attach</code></em>,
                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> right_attach</code></em>,
                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> top_attach</code></em>,
                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> bottom_attach</code></em>,
                  <em class="parameter"><code><a class="link" href="gtk2-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a> xoptions</code></em>,
                  <em class="parameter"><code><a class="link" href="gtk2-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a> yoptions</code></em>,
                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> xpadding</code></em>,
                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ypadding</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-attach-defaults"></a><h3>gtk_table_attach_defaults ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_table_attach_defaults (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                           <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> left_attach</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> right_attach</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> top_attach</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> bottom_attach</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-set-row-spacing"></a><h3>gtk_table_set_row_spacing ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_table_set_row_spacing (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> row</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-set-col-spacing"></a><h3>gtk_table_set_col_spacing ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_table_set_col_spacing (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> column</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-set-row-spacings"></a><h3>gtk_table_set_row_spacings ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_table_set_row_spacings (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                            <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-set-col-spacings"></a><h3>gtk_table_set_col_spacings ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_table_set_col_spacings (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                            <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-set-homogeneous"></a><h3>gtk_table_set_homogeneous ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_table_set_homogeneous (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-get-default-row-spacing"></a><h3>gtk_table_get_default_row_spacing ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gtk_table_get_default_row_spacing (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>);</pre>
<p>Gets the default row spacing for the table. This is
the spacing that will be used for newly added rows.
(See <a class="link" href="GtkTable.html#gtk-table-set-row-spacings" title="gtk_table_set_row_spacings ()"><code class="function">gtk_table_set_row_spacings()</code></a>)</p>
<div class="refsect3">
<a name="gtk-table-get-default-row-spacing.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>table</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-table-get-default-row-spacing.returns"></a><h4>Returns</h4>
<p> the default row spacing</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-get-homogeneous"></a><h3>gtk_table_get_homogeneous ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gtk_table_get_homogeneous (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>);</pre>
<p>Returns whether the table cells are all constrained to the same
width and height. (See <code class="function">gtk_table_set_homogenous()</code>)</p>
<div class="refsect3">
<a name="gtk-table-get-homogeneous.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>table</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-table-get-homogeneous.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the cells are all constrained to the same size</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-get-row-spacing"></a><h3>gtk_table_get_row_spacing ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gtk_table_get_row_spacing (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> row</code></em>);</pre>
<p>Gets the amount of space between row <em class="parameter"><code>row</code></em>
, and
row <em class="parameter"><code>row</code></em>
 + 1. See <a class="link" href="GtkTable.html#gtk-table-set-row-spacing" title="gtk_table_set_row_spacing ()"><code class="function">gtk_table_set_row_spacing()</code></a>.</p>
<div class="refsect3">
<a name="gtk-table-get-row-spacing.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>table</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>row</p></td>
<td class="parameter_description"><p>a row in the table, 0 indicates the first row</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-table-get-row-spacing.returns"></a><h4>Returns</h4>
<p> the row spacing</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-get-col-spacing"></a><h3>gtk_table_get_col_spacing ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gtk_table_get_col_spacing (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                           <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> column</code></em>);</pre>
<p>Gets the amount of space between column <em class="parameter"><code>col</code></em>
, and
column <em class="parameter"><code>col</code></em>
 + 1. See <a class="link" href="GtkTable.html#gtk-table-set-col-spacing" title="gtk_table_set_col_spacing ()"><code class="function">gtk_table_set_col_spacing()</code></a>.</p>
<div class="refsect3">
<a name="gtk-table-get-col-spacing.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>table</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column</p></td>
<td class="parameter_description"><p>a column in the table, 0 indicates the first column</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-table-get-col-spacing.returns"></a><h4>Returns</h4>
<p> the column spacing</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-get-default-col-spacing"></a><h3>gtk_table_get_default_col_spacing ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gtk_table_get_default_col_spacing (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>);</pre>
<p>Gets the default column spacing for the table. This is
the spacing that will be used for newly added columns.
(See <a class="link" href="GtkTable.html#gtk-table-set-col-spacings" title="gtk_table_set_col_spacings ()"><code class="function">gtk_table_set_col_spacings()</code></a>)</p>
<div class="refsect3">
<a name="gtk-table-get-default-col-spacing.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>table</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-table-get-default-col-spacing.returns"></a><h4>Returns</h4>
<p> the default column spacing</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-table-get-size"></a><h3>gtk_table_get_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_table_get_size (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *rows</code></em>,
                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *columns</code></em>);</pre>
<p>Returns the number of rows and columns in the table.</p>
<div class="refsect3">
<a name="gtk-table-get-size.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>table</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>rows</p></td>
<td class="parameter_description"><p>return location for the number of
rows, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>columns</p></td>
<td class="parameter_description"><p>return location for the number
of columns, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></p>
</div>
</div>
<div class="refsect1">
<a name="GtkTable.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GtkTable-struct"></a><h3>struct GtkTable</h3>
<pre class="programlisting">struct GtkTable;</pre>
</div>
</div>
<div class="refsect1">
<a name="GtkTable.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkTable--column-spacing"></a><h3>The <code class="literal">“column-spacing”</code> property</h3>
<pre class="programlisting">  “column-spacing”           <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The amount of space between two consecutive columns.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--homogeneous"></a><h3>The <code class="literal">“homogeneous”</code> property</h3>
<pre class="programlisting">  “homogeneous”              <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>If TRUE, the table cells are all the same width/height.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--n-columns"></a><h3>The <code class="literal">“n-columns”</code> property</h3>
<pre class="programlisting">  “n-columns”                <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The number of columns in the table.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: [1,65535]</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--n-rows"></a><h3>The <code class="literal">“n-rows”</code> property</h3>
<pre class="programlisting">  “n-rows”                   <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The number of rows in the table.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: [1,65535]</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--row-spacing"></a><h3>The <code class="literal">“row-spacing”</code> property</h3>
<pre class="programlisting">  “row-spacing”              <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The amount of space between two consecutive rows.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1">
<a name="GtkTable.child-property-details"></a><h2>Child Property Details</h2>
<div class="refsect2">
<a name="GtkTable--c-bottom-attach"></a><h3>The <code class="literal">“bottom-attach”</code> child property</h3>
<pre class="programlisting">  “bottom-attach”            <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The row number to attach the bottom of the child to.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: [1,65535]</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--c-left-attach"></a><h3>The <code class="literal">“left-attach”</code> child property</h3>
<pre class="programlisting">  “left-attach”              <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The column number to attach the left side of the child to.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--c-right-attach"></a><h3>The <code class="literal">“right-attach”</code> child property</h3>
<pre class="programlisting">  “right-attach”             <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The column number to attach the right side of a child widget to.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: [1,65535]</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--c-top-attach"></a><h3>The <code class="literal">“top-attach”</code> child property</h3>
<pre class="programlisting">  “top-attach”               <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The row number to attach the top of a child widget to.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--c-x-options"></a><h3>The <code class="literal">“x-options”</code> child property</h3>
<pre class="programlisting">  “x-options”                <a class="link" href="gtk2-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a></pre>
<p>Options specifying the horizontal behaviour of the child.</p>
<p>Flags: Read / Write</p>
<p>Default value: GTK_EXPAND | GTK_FILL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--c-x-padding"></a><h3>The <code class="literal">“x-padding”</code> child property</h3>
<pre class="programlisting">  “x-padding”                <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>Extra space to put between the child and its left and right neighbors, in pixels.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--c-y-options"></a><h3>The <code class="literal">“y-options”</code> child property</h3>
<pre class="programlisting">  “y-options”                <a class="link" href="gtk2-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a></pre>
<p>Options specifying the vertical behaviour of the child.</p>
<p>Flags: Read / Write</p>
<p>Default value: GTK_EXPAND | GTK_FILL</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkTable--c-y-padding"></a><h3>The <code class="literal">“y-padding”</code> child property</h3>
<pre class="programlisting">  “y-padding”                <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>Extra space to put between the child and its upper and lower neighbors, in pixels.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.26.1</div>
</body>
</html>