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/GtkTable.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>GtkTable</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="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.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="GtkNotebook.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="LayoutContainers.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="GtkExpander.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="#id3491372" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id3492268" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id3491939" class="shortcut">Object Hierarchy</a>
                  &#160;|&#160;
                  <a href="#id3491993" class="shortcut">Implemented Interfaces</a>
                  &#160;|&#160;
                  <a href="#id3492016" class="shortcut">Properties</a>
                  &#160;|&#160;
                  <a href="#id3492116" class="shortcut">Child Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkTable"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3491372"></a><span class="refentrytitle">GtkTable</span>
</h2>
<p>GtkTable &#8212; Pack widgets in regular patterns</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="GtkTable.html#GtkTable-struct">GtkTable</a>;
            <a href="GtkTable.html#GtkTableChild">GtkTableChild</a>;
            <a href="GtkTable.html#GtkTableRowCol">GtkTableRowCol</a>;
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*  <a href="GtkTable.html#gtk-table-new">gtk_table_new</a>                   (<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> rows,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> columns,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> homogeneous);
void        <a href="GtkTable.html#gtk-table-resize">gtk_table_resize</a>                (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> rows,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> columns);
void        <a href="GtkTable.html#gtk-table-attach">gtk_table_attach</a>                (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> left_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> right_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> top_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> bottom_attach,
                                             <a href="gtk-Standard-Enumerations.html#GtkAttachOptions">GtkAttachOptions</a> xoptions,
                                             <a href="gtk-Standard-Enumerations.html#GtkAttachOptions">GtkAttachOptions</a> yoptions,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> xpadding,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> ypadding);
void        <a href="GtkTable.html#gtk-table-attach-defaults">gtk_table_attach_defaults</a>       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> left_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> right_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> top_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> bottom_attach);
void        <a href="GtkTable.html#gtk-table-set-row-spacing">gtk_table_set_row_spacing</a>       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> row,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> spacing);
void        <a href="GtkTable.html#gtk-table-set-col-spacing">gtk_table_set_col_spacing</a>       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> column,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> spacing);
void        <a href="GtkTable.html#gtk-table-set-row-spacings">gtk_table_set_row_spacings</a>      (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> spacing);
void        <a href="GtkTable.html#gtk-table-set-col-spacings">gtk_table_set_col_spacings</a>      (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> spacing);
void        <a href="GtkTable.html#gtk-table-set-homogeneous">gtk_table_set_homogeneous</a>       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> homogeneous);
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>       <a href="GtkTable.html#gtk-table-get-default-row-spacing">gtk_table_get_default_row_spacing</a>
                                            (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="GtkTable.html#gtk-table-get-homogeneous">gtk_table_get_homogeneous</a>       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table);
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>       <a href="GtkTable.html#gtk-table-get-row-spacing">gtk_table_get_row_spacing</a>       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> row);
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>       <a href="GtkTable.html#gtk-table-get-col-spacing">gtk_table_get_col_spacing</a>       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> column);
<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>       <a href="GtkTable.html#gtk-table-get-default-col-spacing">gtk_table_get_default_col_spacing</a>
                                            (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table);


</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3491939"></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>
                           +----GtkTable
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3491993"></a><h2>Implemented Interfaces</h2>
<p>
GtkTable implements
 AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3492016"></a><h2>Properties</h2>
<pre class="synopsis">

  "<a href="GtkTable.html#GtkTable--column-spacing">column-spacing</a>"       <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GtkTable.html#GtkTable--homogeneous">homogeneous</a>"          <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a href="GtkTable.html#GtkTable--n-columns">n-columns</a>"            <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GtkTable.html#GtkTable--n-rows">n-rows</a>"               <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GtkTable.html#GtkTable--row-spacing">row-spacing</a>"          <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3492116"></a><h2>Child Properties</h2>
<pre class="synopsis">

  "<a href="GtkTable.html#GtkTable--bottom-attach">bottom-attach</a>"        <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GtkTable.html#GtkTable--left-attach">left-attach</a>"          <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GtkTable.html#GtkTable--right-attach">right-attach</a>"         <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GtkTable.html#GtkTable--top-attach">top-attach</a>"           <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GtkTable.html#GtkTable--x-options">x-options</a>"            <a href="gtk-Standard-Enumerations.html#GtkAttachOptions">GtkAttachOptions</a>      : Read / Write
  "<a href="GtkTable.html#GtkTable--x-padding">x-padding</a>"            <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a href="GtkTable.html#GtkTable--y-options">y-options</a>"            <a href="gtk-Standard-Enumerations.html#GtkAttachOptions">GtkAttachOptions</a>      : Read / Write
  "<a href="GtkTable.html#GtkTable--y-padding">y-padding</a>"            <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3492268"></a><h2>Description</h2>
<p>
The <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> functions allow the programmer to arrange widgets in rows and
columns, making it easy to align many widgets next to each other,
horizontally and vertically.
</p>
<p>
Tables are created with a call to <a href="GtkTable.html#gtk-table-new"><code class="function">gtk_table_new()</code></a>, the size of which can
later be changed with <a href="GtkTable.html#gtk-table-resize"><code class="function">gtk_table_resize()</code></a>.
</p>
<p>
Widgets can be added to a table using <a href="GtkTable.html#gtk-table-attach"><code class="function">gtk_table_attach()</code></a> or the more
convenient (but slightly less flexible) <a href="GtkTable.html#gtk-table-attach-defaults"><code class="function">gtk_table_attach_defaults()</code></a>.
</p>
<p>
To alter the space next to a specific row, use <a href="GtkTable.html#gtk-table-set-row-spacing"><code class="function">gtk_table_set_row_spacing()</code></a>,
and for a column, <a href="GtkTable.html#gtk-table-set-col-spacing"><code class="function">gtk_table_set_col_spacing()</code></a>.</p>
<p>
The gaps between <span class="emphasis"><em>all</em></span> rows or columns can be changed by calling
<a href="GtkTable.html#gtk-table-set-row-spacings"><code class="function">gtk_table_set_row_spacings()</code></a> or <a href="GtkTable.html#gtk-table-set-col-spacings"><code class="function">gtk_table_set_col_spacings()</code></a> respectively.
</p>
<p>
<a href="GtkTable.html#gtk-table-set-homogeneous"><code class="function">gtk_table_set_homogeneous()</code></a>, can be used to set whether all cells in the
table will resize themselves to the size of the largest widget in the table.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3492418"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3492428"></a><h3>
<a name="GtkTable-struct"></a>GtkTable</h3>
<a class="indexterm" name="id3492441"></a><pre class="programlisting">typedef struct _GtkTable GtkTable;</pre>
<p>
The <span class="structname">GtkTable</span> structure holds the data for the actual table itself. 

<em class="structfield"><code>children</code></em> is a <a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
><span class="type">GList</span></a> of all the widgets the table contains. <em class="structfield"><code>rows</code></em> and <em class="structfield"><code>columns</code></em> are pointers to <a href="GtkTable.html#GtkTableRowCol"><span class="type">GtkTableRowCol</span></a> structures, which contain the default spacing and expansion details for the <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>'s rows and columns, respectively.
</p>
<p>
<em class="structfield"><code>nrows</code></em> and <em class="structfield"><code>ncols</code></em> are 16bit integers storing the number of rows and columns the table has. 
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3492510"></a><h3>
<a name="GtkTableChild"></a>GtkTableChild</h3>
<a class="indexterm" name="id3492523"></a><pre class="programlisting">typedef struct {
  GtkWidget *widget;
  guint16 left_attach;
  guint16 right_attach;
  guint16 top_attach;
  guint16 bottom_attach;
  guint16 xpadding;
  guint16 ypadding;
  guint xexpand : 1;
  guint yexpand : 1;
  guint xshrink : 1;
  guint yshrink : 1;
  guint xfill : 1;
  guint yfill : 1;
} GtkTableChild;
</pre>
<p>
The <em class="structfield"><code>widget</code></em> field is a pointer to the widget that 
this <a href="GtkTable.html#GtkTableChild"><code class="literal">GtkTableChild</code></a> structure is keeping track of.
The <em class="structfield"><code>left_attach</code></em>,
<em class="structfield"><code>right_attach</code></em>,
<em class="structfield"><code>top_attach</code></em>, and
<em class="structfield"><code>bottom_attach</code></em> fields specify the row and column
numbers which make up the invisible rectangle that the child widget is packed into.
</p>
<p>
<em class="structfield"><code>xpadding</code></em> and <em class="structfield"><code>ypadding</code></em>
specify the space between this widget and the surrounding table cells.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3492587"></a><h3>
<a name="GtkTableRowCol"></a>GtkTableRowCol</h3>
<a class="indexterm" name="id3492600"></a><pre class="programlisting">typedef struct {
  guint16 requisition;
  guint16 allocation;
  guint16 spacing;
  guint need_expand : 1;
  guint need_shrink : 1;
  guint expand : 1;
  guint shrink : 1;
  guint empty : 1;
} GtkTableRowCol;
</pre>
<p>
These fields should be considered read-only and not be modified directly.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3492620"></a><h3>
<a name="gtk-table-new"></a>gtk_table_new ()</h3>
<a class="indexterm" name="id3492633"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*  gtk_table_new                   (<a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> rows,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> columns,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> homogeneous);</pre>
<p>
Used to create a new table widget. An initial size must be given by
specifying how many rows and columns the table should have, although
this can be changed later with <a href="GtkTable.html#gtk-table-resize"><code class="function">gtk_table_resize()</code></a>.  <em class="parameter"><code>rows</code></em> and <em class="parameter"><code>columns</code></em>
must both be in the range 0 .. 65535.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>rows</code></em>&#160;:</span></td>
<td>The number of rows the new table should have.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>columns</code></em>&#160;:</span></td>
<td>The number of columns the new table should have.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>homogeneous</code></em>&#160;:</span></td>
<td>If set to <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, all table cells are resized to the size of the cell
containing the largest widget.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>A pointer to the the newly created table widget.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3492772"></a><h3>
<a name="gtk-table-resize"></a>gtk_table_resize ()</h3>
<a class="indexterm" name="id3492784"></a><pre class="programlisting">void        gtk_table_resize                (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> rows,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> columns);</pre>
<p>
If you need to change a table's size <span class="emphasis"><em>after</em></span> it has been created, this function allows you to do so.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
<td>The <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> you wish to change the size of.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>rows</code></em>&#160;:</span></td>
<td>The new number of rows.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>columns</code></em>&#160;:</span></td>
<td>The new number of columns.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3492888"></a><h3>
<a name="gtk-table-attach"></a>gtk_table_attach ()</h3>
<a class="indexterm" name="id3492900"></a><pre class="programlisting">void        gtk_table_attach                (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *child,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> left_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> right_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> top_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> bottom_attach,
                                             <a href="gtk-Standard-Enumerations.html#GtkAttachOptions">GtkAttachOptions</a> xoptions,
                                             <a href="gtk-Standard-Enumerations.html#GtkAttachOptions">GtkAttachOptions</a> yoptions,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> xpadding,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> ypadding);</pre>
<p>
Adds a widget to a table. The number of 'cells' that a widget will occupy is
specified by <em class="parameter"><code>left_attach</code></em>, <em class="parameter"><code>right_attach</code></em>, <em class="parameter"><code>top_attach</code></em> and <em class="parameter"><code>bottom_attach</code></em>.
These each represent the leftmost, rightmost, uppermost and lowest column
and row numbers of the table. (Columns and rows are indexed from zero).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
<td>The <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> to add a new widget to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>child</code></em>&#160;:</span></td>
<td>The widget to add.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>left_attach</code></em>&#160;:</span></td>
<td>the column number to attach the left side of a child widget to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>right_attach</code></em>&#160;:</span></td>
<td>the column number to attach the right side of a child widget to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>top_attach</code></em>&#160;:</span></td>
<td>the row number to attach the top of a child widget to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>bottom_attach</code></em>&#160;:</span></td>
<td>the row number to attach the bottom of a child widget to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>xoptions</code></em>&#160;:</span></td>
<td>Used to specify the properties of the child widget when the table is resized.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>yoptions</code></em>&#160;:</span></td>
<td>The same as xoptions, except this field determines behaviour of vertical resizing.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>xpadding</code></em>&#160;:</span></td>
<td>An integer value specifying the padding on the left and right of the widget being added to the table.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>ypadding</code></em>&#160;:</span></td>
<td>The amount of padding above and below the child widget.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3493185"></a><h3>
<a name="gtk-table-attach-defaults"></a>gtk_table_attach_defaults ()</h3>
<a class="indexterm" name="id3493199"></a><pre class="programlisting">void        gtk_table_attach_defaults       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a href="GtkWidget.html" title="GtkWidget">GtkWidget</a> *widget,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> left_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> right_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> top_attach,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> bottom_attach);</pre>
<p>
As there are many options associated with <a href="GtkTable.html#gtk-table-attach"><code class="function">gtk_table_attach()</code></a>, this convenience function provides the programmer with a means to add children to a table with identical padding and expansion options. The values used for the <a href="gtk-Standard-Enumerations.html#GtkAttachOptions"><span class="type">GtkAttachOptions</span></a> are <code class="literal">GTK_EXPAND | GTK_FILL</code>, and the padding is set to 0.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
<td>The table to add a new child widget to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td>The child widget to add.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>left_attach</code></em>&#160;:</span></td>
<td>The column number to attach the left side of the child widget to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>right_attach</code></em>&#160;:</span></td>
<td>The column number to attach the right side of the child widget to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>top_attach</code></em>&#160;:</span></td>
<td>The row number to attach the top of the child widget to.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>bottom_attach</code></em>&#160;:</span></td>
<td>The row number to attach the bottom of the child widget to.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3493386"></a><h3>
<a name="gtk-table-set-row-spacing"></a>gtk_table_set_row_spacing ()</h3>
<a class="indexterm" name="id3493400"></a><pre class="programlisting">void        gtk_table_set_row_spacing       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> row,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> spacing);</pre>
<p>
Changes the space between a given table row and the subsequent row.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
<td>a <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> containing the row whose properties you wish to change.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>row</code></em>&#160;:</span></td>
<td>row number whose spacing will be changed.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
<td>number of pixels that the spacing should take up.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3493500"></a><h3>
<a name="gtk-table-set-col-spacing"></a>gtk_table_set_col_spacing ()</h3>
<a class="indexterm" name="id3493514"></a><pre class="programlisting">void        gtk_table_set_col_spacing       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> column,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> spacing);</pre>
<p>
Alters the amount of space between a given table column and the following 
column.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
<td>a <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td>the column whose spacing should be changed.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
<td>number of pixels that the spacing should take up.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3493613"></a><h3>
<a name="gtk-table-set-row-spacings"></a>gtk_table_set_row_spacings ()</h3>
<a class="indexterm" name="id3493627"></a><pre class="programlisting">void        gtk_table_set_row_spacings      (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> spacing);</pre>
<p>
Sets the space between every row in <em class="parameter"><code>table</code></em> equal to <em class="parameter"><code>spacing</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
<td>a <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
<td>the number of pixels of space to place between every row in the table.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3493715"></a><h3>
<a name="gtk-table-set-col-spacings"></a>gtk_table_set_col_spacings ()</h3>
<a class="indexterm" name="id3493729"></a><pre class="programlisting">void        gtk_table_set_col_spacings      (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> spacing);</pre>
<p>
Sets the space between every column in <em class="parameter"><code>table</code></em> equal to <em class="parameter"><code>spacing</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
<td>a <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>spacing</code></em>&#160;:</span></td>
<td>the number of pixels of space to place between every column in the table.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3493818"></a><h3>
<a name="gtk-table-set-homogeneous"></a>gtk_table_set_homogeneous ()</h3>
<a class="indexterm" name="id3493832"></a><pre class="programlisting">void        gtk_table_set_homogeneous       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> homogeneous);</pre>
<p>
Changes the homogenous property of table cells, ie. whether all cells are an equal size or not.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
<td>The <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> you wish to set the homogeneous properties of.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>homogeneous</code></em>&#160;:</span></td>
<td>Set to <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to ensure all table cells are the same size. Set
to <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if this is not your desired behaviour.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3493931"></a><h3>
<a name="gtk-table-get-default-row-spacing"></a>gtk_table_get_default_row_spacing ()</h3>
<a class="indexterm" name="id3493946"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>       gtk_table_get_default_row_spacing
                                            (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table);</pre>
<p>
Gets the default row spacing for the table. This is
the spacing that will be used for newly added rows.
(See <a href="GtkTable.html#gtk-table-set-row-spacings"><code class="function">gtk_table_set_row_spacings()</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>table</code></em>&#160;:</span></td>
<td> a <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>value: the default row spacing
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494027"></a><h3>
<a name="gtk-table-get-homogeneous"></a>gtk_table_get_homogeneous ()</h3>
<a class="indexterm" name="id3494040"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    gtk_table_get_homogeneous       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table);</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>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>table</code></em>&#160;:</span></td>
<td> a <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <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
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494132"></a><h3>
<a name="gtk-table-get-row-spacing"></a>gtk_table_get_row_spacing ()</h3>
<a class="indexterm" name="id3494146"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>       gtk_table_get_row_spacing       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> row);</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 href="GtkTable.html#gtk-table-set-row-spacing"><code class="function">gtk_table_set_row_spacing()</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>table</code></em>&#160;:</span></td>
<td> a <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>row</code></em>&#160;:</span></td>
<td> a row in the table, 0 indicates the first row
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the row spacing
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494257"></a><h3>
<a name="gtk-table-get-col-spacing"></a>gtk_table_get_col_spacing ()</h3>
<a class="indexterm" name="id3494271"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>       gtk_table_get_col_spacing       (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table,
                                             <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a> column);</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 href="GtkTable.html#gtk-table-set-col-spacing"><code class="function">gtk_table_set_col_spacing()</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>table</code></em>&#160;:</span></td>
<td> a <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column</code></em>&#160;:</span></td>
<td> a column in the table, 0 indicates the first column
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the column spacing
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494384"></a><h3>
<a name="gtk-table-get-default-col-spacing"></a>gtk_table_get_default_col_spacing ()</h3>
<a class="indexterm" name="id3494398"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>       gtk_table_get_default_col_spacing
                                            (<a href="GtkTable.html" title="GtkTable">GtkTable</a> *table);</pre>
<p>
Gets the default column spacing for the table. This is
the spacing that will be used for newly added columns.
(See <a href="GtkTable.html#gtk-table-set-col-spacings"><code class="function">gtk_table_set_col_spacings()</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>table</code></em>&#160;:</span></td>
<td> a <a href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>value: the default column spacing
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3494481"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3494491"></a><h3>
<a name="GtkTable--column-spacing"></a>The "<code class="literal">column-spacing</code>" property</h3>
<a class="indexterm" name="id3494508"></a><pre class="programlisting">  "column-spacing"       <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The amount of space between two consecutive columns.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494535"></a><h3>
<a name="GtkTable--homogeneous"></a>The "<code class="literal">homogeneous</code>" property</h3>
<a class="indexterm" name="id3494551"></a><pre class="programlisting">  "homogeneous"          <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>If TRUE, the table cells are all the same width/height.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494578"></a><h3>
<a name="GtkTable--n-columns"></a>The "<code class="literal">n-columns</code>" property</h3>
<a class="indexterm" name="id3494594"></a><pre class="programlisting">  "n-columns"            <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The number of columns in the table.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494620"></a><h3>
<a name="GtkTable--n-rows"></a>The "<code class="literal">n-rows</code>" property</h3>
<a class="indexterm" name="id3494636"></a><pre class="programlisting">  "n-rows"               <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The number of rows in the table.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494662"></a><h3>
<a name="GtkTable--row-spacing"></a>The "<code class="literal">row-spacing</code>" property</h3>
<a class="indexterm" name="id3494679"></a><pre class="programlisting">  "row-spacing"          <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The amount of space between two consecutive rows.</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3494707"></a><h2>Child Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3494718"></a><h3>
<a name="GtkTable--bottom-attach"></a>The "<code class="literal">bottom-attach</code>" child property</h3>
<a class="indexterm" name="id3494735"></a><pre class="programlisting">  "bottom-attach"        <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The row number to attach the bottom of the child to.</p>
<p>Allowed values: [1,65535]</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494765"></a><h3>
<a name="GtkTable--left-attach"></a>The "<code class="literal">left-attach</code>" child property</h3>
<a class="indexterm" name="id3494782"></a><pre class="programlisting">  "left-attach"          <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The column number to attach the left side of the child to.</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494813"></a><h3>
<a name="GtkTable--right-attach"></a>The "<code class="literal">right-attach</code>" child property</h3>
<a class="indexterm" name="id3494830"></a><pre class="programlisting">  "right-attach"         <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The column number to attach the right side of a child widget to.</p>
<p>Allowed values: [1,65535]</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494861"></a><h3>
<a name="GtkTable--top-attach"></a>The "<code class="literal">top-attach</code>" child property</h3>
<a class="indexterm" name="id3494877"></a><pre class="programlisting">  "top-attach"           <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>The row number to attach the top of a child widget to.</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494908"></a><h3>
<a name="GtkTable--x-options"></a>The "<code class="literal">x-options</code>" child property</h3>
<a class="indexterm" name="id3494924"></a><pre class="programlisting">  "x-options"            <a href="gtk-Standard-Enumerations.html#GtkAttachOptions">GtkAttachOptions</a>      : Read / Write</pre>
<p>Options specifying the horizontal behaviour of the child.</p>
<p>Default value: GTK_EXPAND|GTK_FILL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494951"></a><h3>
<a name="GtkTable--x-padding"></a>The "<code class="literal">x-padding</code>" child property</h3>
<a class="indexterm" name="id3494967"></a><pre class="programlisting">  "x-padding"            <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>Extra space to put between the child and its left and right neighbors, in pixels.</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3494998"></a><h3>
<a name="GtkTable--y-options"></a>The "<code class="literal">y-options</code>" child property</h3>
<a class="indexterm" name="id3495014"></a><pre class="programlisting">  "y-options"            <a href="gtk-Standard-Enumerations.html#GtkAttachOptions">GtkAttachOptions</a>      : Read / Write</pre>
<p>Options specifying the vertical behaviour of the child.</p>
<p>Default value: GTK_EXPAND|GTK_FILL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3495042"></a><h3>
<a name="GtkTable--y-padding"></a>The "<code class="literal">y-padding</code>" child property</h3>
<a class="indexterm" name="id3495058"></a><pre class="programlisting">  "y-padding"            <a
href="../glib/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>Extra space to put between the child and its upper and lower neighbors, in pixels.</p>
<p>Allowed values: &lt;= 65535</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3495090"></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="GtkVBox.html" title="GtkVBox"><span class="type">GtkVBox</span></a></span></td>
<td><p>For packing widgets vertically only.</p></td>
</tr>
<tr>
<td>
<span class="term"><a href="GtkHBox.html" title="GtkHBox"><span class="type">GtkHBox</span></a></span></td>
<td><p>For packing widgets horizontally only.</p></td>
</tr>
</tbody>
</table></div>
<p>
</p>
</div>
</div>
</body>
</html>

Anon7 - 2021