~ubuntu-branches/debian/experimental/gtk+2.0/experimental

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkTable.html

  • Committer: Package Import Robot
  • Author(s): Josselin Mouette
  • Date: 2011-09-02 17:17:47 UTC
  • mto: (72.4.15 sid)
  • mto: This revision was merged to the branch mainline in revision 102.
  • Revision ID: package-import@ubuntu.com-20110902171747-i8dr3czswn2sk7tu
Tags: upstream-2.24.6
Import upstream version 2.24.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
#include <gtk/gtk.h>
50
50
 
51
51
struct              <a class="link" href="GtkTable.html#GtkTable-struct" title="struct GtkTable">GtkTable</a>;
52
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkTable.html#gtk-table-new" title="gtk_table_new ()">gtk_table_new</a>                       (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> rows</code></em>,
53
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> columns</code></em>,
54
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);
 
52
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkTable.html#gtk-table-new" title="gtk_table_new ()">gtk_table_new</a>                       (<em class="parameter"><code><span class="type">guint</span> rows</code></em>,
 
53
                                                         <em class="parameter"><code><span class="type">guint</span> columns</code></em>,
 
54
                                                         <em class="parameter"><code><span class="type">gboolean</span> homogeneous</code></em>);
55
55
<span class="returnvalue">void</span>                <a class="link" href="GtkTable.html#gtk-table-resize" title="gtk_table_resize ()">gtk_table_resize</a>                    (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
56
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> rows</code></em>,
57
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> columns</code></em>);
 
56
                                                         <em class="parameter"><code><span class="type">guint</span> rows</code></em>,
 
57
                                                         <em class="parameter"><code><span class="type">guint</span> columns</code></em>);
58
58
<span class="returnvalue">void</span>                <a class="link" href="GtkTable.html#gtk-table-attach" title="gtk_table_attach ()">gtk_table_attach</a>                    (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
59
59
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
60
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> left_attach</code></em>,
61
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> right_attach</code></em>,
62
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> top_attach</code></em>,
63
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> bottom_attach</code></em>,
 
60
                                                         <em class="parameter"><code><span class="type">guint</span> left_attach</code></em>,
 
61
                                                         <em class="parameter"><code><span class="type">guint</span> right_attach</code></em>,
 
62
                                                         <em class="parameter"><code><span class="type">guint</span> top_attach</code></em>,
 
63
                                                         <em class="parameter"><code><span class="type">guint</span> bottom_attach</code></em>,
64
64
                                                         <em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a> xoptions</code></em>,
65
65
                                                         <em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a> yoptions</code></em>,
66
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> xpadding</code></em>,
67
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ypadding</code></em>);
 
66
                                                         <em class="parameter"><code><span class="type">guint</span> xpadding</code></em>,
 
67
                                                         <em class="parameter"><code><span class="type">guint</span> ypadding</code></em>);
68
68
<span class="returnvalue">void</span>                <a class="link" href="GtkTable.html#gtk-table-attach-defaults" title="gtk_table_attach_defaults ()">gtk_table_attach_defaults</a>           (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
69
69
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
70
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> left_attach</code></em>,
71
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> right_attach</code></em>,
72
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> top_attach</code></em>,
73
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> bottom_attach</code></em>);
 
70
                                                         <em class="parameter"><code><span class="type">guint</span> left_attach</code></em>,
 
71
                                                         <em class="parameter"><code><span class="type">guint</span> right_attach</code></em>,
 
72
                                                         <em class="parameter"><code><span class="type">guint</span> top_attach</code></em>,
 
73
                                                         <em class="parameter"><code><span class="type">guint</span> bottom_attach</code></em>);
74
74
<span class="returnvalue">void</span>                <a class="link" href="GtkTable.html#gtk-table-set-row-spacing" title="gtk_table_set_row_spacing ()">gtk_table_set_row_spacing</a>           (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
75
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> row</code></em>,
76
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);
 
75
                                                         <em class="parameter"><code><span class="type">guint</span> row</code></em>,
 
76
                                                         <em class="parameter"><code><span class="type">guint</span> spacing</code></em>);
77
77
<span class="returnvalue">void</span>                <a class="link" href="GtkTable.html#gtk-table-set-col-spacing" title="gtk_table_set_col_spacing ()">gtk_table_set_col_spacing</a>           (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
78
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> column</code></em>,
79
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);
 
78
                                                         <em class="parameter"><code><span class="type">guint</span> column</code></em>,
 
79
                                                         <em class="parameter"><code><span class="type">guint</span> spacing</code></em>);
80
80
<span class="returnvalue">void</span>                <a class="link" href="GtkTable.html#gtk-table-set-row-spacings" title="gtk_table_set_row_spacings ()">gtk_table_set_row_spacings</a>          (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
81
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);
 
81
                                                         <em class="parameter"><code><span class="type">guint</span> spacing</code></em>);
82
82
<span class="returnvalue">void</span>                <a class="link" href="GtkTable.html#gtk-table-set-col-spacings" title="gtk_table_set_col_spacings ()">gtk_table_set_col_spacings</a>          (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
83
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);
 
83
                                                         <em class="parameter"><code><span class="type">guint</span> spacing</code></em>);
84
84
<span class="returnvalue">void</span>                <a class="link" href="GtkTable.html#gtk-table-set-homogeneous" title="gtk_table_set_homogeneous ()">gtk_table_set_homogeneous</a>           (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
85
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);
86
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <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>   (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>);
87
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkTable.html#gtk-table-get-homogeneous" title="gtk_table_get_homogeneous ()">gtk_table_get_homogeneous</a>           (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>);
88
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GtkTable.html#gtk-table-get-row-spacing" title="gtk_table_get_row_spacing ()">gtk_table_get_row_spacing</a>           (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
89
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> row</code></em>);
90
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GtkTable.html#gtk-table-get-col-spacing" title="gtk_table_get_col_spacing ()">gtk_table_get_col_spacing</a>           (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
91
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> column</code></em>);
92
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <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>   (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>);
 
85
                                                         <em class="parameter"><code><span class="type">gboolean</span> homogeneous</code></em>);
 
86
<span class="returnvalue">guint</span>               <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>   (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>);
 
87
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkTable.html#gtk-table-get-homogeneous" title="gtk_table_get_homogeneous ()">gtk_table_get_homogeneous</a>           (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>);
 
88
<span class="returnvalue">guint</span>               <a class="link" href="GtkTable.html#gtk-table-get-row-spacing" title="gtk_table_get_row_spacing ()">gtk_table_get_row_spacing</a>           (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
 
89
                                                         <em class="parameter"><code><span class="type">guint</span> row</code></em>);
 
90
<span class="returnvalue">guint</span>               <a class="link" href="GtkTable.html#gtk-table-get-col-spacing" title="gtk_table_get_col_spacing ()">gtk_table_get_col_spacing</a>           (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
 
91
                                                         <em class="parameter"><code><span class="type">guint</span> column</code></em>);
 
92
<span class="returnvalue">guint</span>               <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>   (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>);
93
93
<span class="returnvalue">void</span>                <a class="link" href="GtkTable.html#gtk-table-get-size" title="gtk_table_get_size ()">gtk_table_get_size</a>                  (<em class="parameter"><code><a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a> *table</code></em>,
94
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *rows</code></em>,
95
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *columns</code></em>);
 
94
                                                         <em class="parameter"><code><span class="type">guint</span> *rows</code></em>,
 
95
                                                         <em class="parameter"><code><span class="type">guint</span> *columns</code></em>);
96
96
</pre>
97
97
</div>
98
98
<div class="refsect1">
99
99
<a name="GtkTable.object-hierarchy"></a><h2>Object Hierarchy</h2>
100
100
<pre class="synopsis">
101
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
102
 
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
101
  GObject
 
102
   +----GInitiallyUnowned
103
103
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
104
104
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
105
105
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
115
115
<div class="refsect1">
116
116
<a name="GtkTable.properties"></a><h2>Properties</h2>
117
117
<pre class="synopsis">
118
 
  "<a class="link" href="GtkTable.html#GtkTable--column-spacing" title='The "column-spacing" property'>column-spacing</a>"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
119
 
  "<a class="link" href="GtkTable.html#GtkTable--homogeneous" title='The "homogeneous" property'>homogeneous</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
120
 
  "<a class="link" href="GtkTable.html#GtkTable--n-columns" title='The "n-columns" property'>n-columns</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
121
 
  "<a class="link" href="GtkTable.html#GtkTable--n-rows" title='The "n-rows" property'>n-rows</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
122
 
  "<a class="link" href="GtkTable.html#GtkTable--row-spacing" title='The "row-spacing" property'>row-spacing</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
 
118
  "<a class="link" href="GtkTable.html#GtkTable--column-spacing" title='The "column-spacing" property'>column-spacing</a>"           <span class="type">guint</span>                 : Read / Write
 
119
  "<a class="link" href="GtkTable.html#GtkTable--homogeneous" title='The "homogeneous" property'>homogeneous</a>"              <span class="type">gboolean</span>              : Read / Write
 
120
  "<a class="link" href="GtkTable.html#GtkTable--n-columns" title='The "n-columns" property'>n-columns</a>"                <span class="type">guint</span>                 : Read / Write
 
121
  "<a class="link" href="GtkTable.html#GtkTable--n-rows" title='The "n-rows" property'>n-rows</a>"                   <span class="type">guint</span>                 : Read / Write
 
122
  "<a class="link" href="GtkTable.html#GtkTable--row-spacing" title='The "row-spacing" property'>row-spacing</a>"              <span class="type">guint</span>                 : Read / Write
123
123
</pre>
124
124
</div>
125
125
<div class="refsect1">
126
126
<a name="GtkTable.child-properties"></a><h2>Child Properties</h2>
127
127
<pre class="synopsis">
128
 
  "<a class="link" href="GtkTable.html#GtkTable--c-bottom-attach" title='The "bottom-attach" child property'>bottom-attach</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
129
 
  "<a class="link" href="GtkTable.html#GtkTable--c-left-attach" title='The "left-attach" child property'>left-attach</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
130
 
  "<a class="link" href="GtkTable.html#GtkTable--c-right-attach" title='The "right-attach" child property'>right-attach</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
131
 
  "<a class="link" href="GtkTable.html#GtkTable--c-top-attach" title='The "top-attach" child property'>top-attach</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
 
128
  "<a class="link" href="GtkTable.html#GtkTable--c-bottom-attach" title='The "bottom-attach" child property'>bottom-attach</a>"            <span class="type">guint</span>                 : Read / Write
 
129
  "<a class="link" href="GtkTable.html#GtkTable--c-left-attach" title='The "left-attach" child property'>left-attach</a>"              <span class="type">guint</span>                 : Read / Write
 
130
  "<a class="link" href="GtkTable.html#GtkTable--c-right-attach" title='The "right-attach" child property'>right-attach</a>"             <span class="type">guint</span>                 : Read / Write
 
131
  "<a class="link" href="GtkTable.html#GtkTable--c-top-attach" title='The "top-attach" child property'>top-attach</a>"               <span class="type">guint</span>                 : Read / Write
132
132
  "<a class="link" href="GtkTable.html#GtkTable--c-x-options" title='The "x-options" child property'>x-options</a>"                <a class="link" href="gtk-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a>      : Read / Write
133
 
  "<a class="link" href="GtkTable.html#GtkTable--c-x-padding" title='The "x-padding" child property'>x-padding</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
 
133
  "<a class="link" href="GtkTable.html#GtkTable--c-x-padding" title='The "x-padding" child property'>x-padding</a>"                <span class="type">guint</span>                 : Read / Write
134
134
  "<a class="link" href="GtkTable.html#GtkTable--c-y-options" title='The "y-options" child property'>y-options</a>"                <a class="link" href="gtk-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a>      : Read / Write
135
 
  "<a class="link" href="GtkTable.html#GtkTable--c-y-padding" title='The "y-padding" child property'>y-padding</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
 
135
  "<a class="link" href="GtkTable.html#GtkTable--c-y-padding" title='The "y-padding" child property'>y-padding</a>"                <span class="type">guint</span>                 : Read / Write
136
136
</pre>
137
137
</div>
138
138
<div class="refsect1">
169
169
<pre class="programlisting">struct GtkTable;</pre>
170
170
<p>
171
171
The <span class="structname">GtkTable</span> structure holds the data for the actual table itself.
172
 
<em class="structfield"><code>children</code></em> is a <a href="http://library.gnome.org/devel/glib/unstable/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 <span class="type">GtkTableRowCol</span> structures, which contain the default spacing and expansion details for the <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>'s rows and columns, respectively.
 
172
<em class="structfield"><code>children</code></em> is a <span class="type">GList</span> 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 <span class="type">GtkTableRowCol</span> structures, which contain the default spacing and expansion details for the <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>'s rows and columns, respectively.
173
173
</p>
174
174
<p>
175
175
<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.
178
178
<hr>
179
179
<div class="refsect2">
180
180
<a name="gtk-table-new"></a><h3>gtk_table_new ()</h3>
181
 
<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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> rows</code></em>,
182
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> columns</code></em>,
183
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);</pre>
 
181
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_table_new                       (<em class="parameter"><code><span class="type">guint</span> rows</code></em>,
 
182
                                                         <em class="parameter"><code><span class="type">guint</span> columns</code></em>,
 
183
                                                         <em class="parameter"><code><span class="type">gboolean</span> homogeneous</code></em>);</pre>
184
184
<p>
185
185
Used to create a new table widget. An initial size must be given by
186
186
specifying how many rows and columns the table should have, although
201
201
</tr>
202
202
<tr>
203
203
<td><p><span class="term"><em class="parameter"><code>homogeneous</code></em> :</span></p></td>
204
 
<td>If set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, all table cells are resized to the size of the cell
 
204
<td>If set to <code class="literal">TRUE</code>, all table cells are resized to the size of the cell
205
205
containing the largest widget.</td>
206
206
</tr>
207
207
<tr>
215
215
<div class="refsect2">
216
216
<a name="gtk-table-resize"></a><h3>gtk_table_resize ()</h3>
217
217
<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>,
218
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> rows</code></em>,
219
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> columns</code></em>);</pre>
 
218
                                                         <em class="parameter"><code><span class="type">guint</span> rows</code></em>,
 
219
                                                         <em class="parameter"><code><span class="type">guint</span> columns</code></em>);</pre>
220
220
<p>
221
221
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.
222
222
</p>
243
243
<a name="gtk-table-attach"></a><h3>gtk_table_attach ()</h3>
244
244
<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>,
245
245
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
246
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> left_attach</code></em>,
247
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> right_attach</code></em>,
248
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> top_attach</code></em>,
249
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> bottom_attach</code></em>,
 
246
                                                         <em class="parameter"><code><span class="type">guint</span> left_attach</code></em>,
 
247
                                                         <em class="parameter"><code><span class="type">guint</span> right_attach</code></em>,
 
248
                                                         <em class="parameter"><code><span class="type">guint</span> top_attach</code></em>,
 
249
                                                         <em class="parameter"><code><span class="type">guint</span> bottom_attach</code></em>,
250
250
                                                         <em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a> xoptions</code></em>,
251
251
                                                         <em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a> yoptions</code></em>,
252
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> xpadding</code></em>,
253
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ypadding</code></em>);</pre>
 
252
                                                         <em class="parameter"><code><span class="type">guint</span> xpadding</code></em>,
 
253
                                                         <em class="parameter"><code><span class="type">guint</span> ypadding</code></em>);</pre>
254
254
<p>
255
255
Adds a widget to a table. The number of 'cells' that a widget will occupy is
256
256
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>.
308
308
<a name="gtk-table-attach-defaults"></a><h3>gtk_table_attach_defaults ()</h3>
309
309
<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>,
310
310
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
311
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> left_attach</code></em>,
312
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> right_attach</code></em>,
313
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> top_attach</code></em>,
314
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> bottom_attach</code></em>);</pre>
 
311
                                                         <em class="parameter"><code><span class="type">guint</span> left_attach</code></em>,
 
312
                                                         <em class="parameter"><code><span class="type">guint</span> right_attach</code></em>,
 
313
                                                         <em class="parameter"><code><span class="type">guint</span> top_attach</code></em>,
 
314
                                                         <em class="parameter"><code><span class="type">guint</span> bottom_attach</code></em>);</pre>
315
315
<p>
316
316
As there are many options associated with <a class="link" href="GtkTable.html#gtk-table-attach" title="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 class="link" href="gtk-Standard-Enumerations.html#GtkAttachOptions" title="enum GtkAttachOptions"><span class="type">GtkAttachOptions</span></a> are <code class="literal">GTK_EXPAND | GTK_FILL</code>, and the padding is set to 0.
317
317
</p>
349
349
<div class="refsect2">
350
350
<a name="gtk-table-set-row-spacing"></a><h3>gtk_table_set_row_spacing ()</h3>
351
351
<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>,
352
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> row</code></em>,
353
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre>
 
352
                                                         <em class="parameter"><code><span class="type">guint</span> row</code></em>,
 
353
                                                         <em class="parameter"><code><span class="type">guint</span> spacing</code></em>);</pre>
354
354
<p>
355
355
Changes the space between a given table row and the subsequent row.
356
356
</p>
376
376
<div class="refsect2">
377
377
<a name="gtk-table-set-col-spacing"></a><h3>gtk_table_set_col_spacing ()</h3>
378
378
<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>,
379
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> column</code></em>,
380
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre>
 
379
                                                         <em class="parameter"><code><span class="type">guint</span> column</code></em>,
 
380
                                                         <em class="parameter"><code><span class="type">guint</span> spacing</code></em>);</pre>
381
381
<p>
382
382
Alters the amount of space between a given table column and the following
383
383
column.
404
404
<div class="refsect2">
405
405
<a name="gtk-table-set-row-spacings"></a><h3>gtk_table_set_row_spacings ()</h3>
406
406
<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>,
407
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre>
 
407
                                                         <em class="parameter"><code><span class="type">guint</span> spacing</code></em>);</pre>
408
408
<p>
409
409
Sets the space between every row in <em class="parameter"><code>table</code></em> equal to <em class="parameter"><code>spacing</code></em>.
410
410
</p>
426
426
<div class="refsect2">
427
427
<a name="gtk-table-set-col-spacings"></a><h3>gtk_table_set_col_spacings ()</h3>
428
428
<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>,
429
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> spacing</code></em>);</pre>
 
429
                                                         <em class="parameter"><code><span class="type">guint</span> spacing</code></em>);</pre>
430
430
<p>
431
431
Sets the space between every column in <em class="parameter"><code>table</code></em> equal to <em class="parameter"><code>spacing</code></em>.
432
432
</p>
448
448
<div class="refsect2">
449
449
<a name="gtk-table-set-homogeneous"></a><h3>gtk_table_set_homogeneous ()</h3>
450
450
<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>,
451
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);</pre>
 
451
                                                         <em class="parameter"><code><span class="type">gboolean</span> homogeneous</code></em>);</pre>
452
452
<p>
453
453
Changes the homogenous property of table cells, ie. whether all cells are an equal size or not.
454
454
</p>
461
461
</tr>
462
462
<tr>
463
463
<td><p><span class="term"><em class="parameter"><code>homogeneous</code></em> :</span></p></td>
464
 
<td>Set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to ensure all table cells are the same size. Set
465
 
to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if this is not your desired behaviour.</td>
 
464
<td>Set to <code class="literal">TRUE</code> to ensure all table cells are the same size. Set
 
465
to <code class="literal">FALSE</code> if this is not your desired behaviour.</td>
466
466
</tr>
467
467
</tbody>
468
468
</table></div>
470
470
<hr>
471
471
<div class="refsect2">
472
472
<a name="gtk-table-get-default-row-spacing"></a><h3>gtk_table_get_default_row_spacing ()</h3>
473
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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>
 
473
<pre class="programlisting"><span class="returnvalue">guint</span>               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>
474
474
<p>
475
475
Gets the default row spacing for the table. This is
476
476
the spacing that will be used for newly added rows.
494
494
<hr>
495
495
<div class="refsect2">
496
496
<a name="gtk-table-get-homogeneous"></a><h3>gtk_table_get_homogeneous ()</h3>
497
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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>
 
497
<pre class="programlisting"><span class="returnvalue">gboolean</span>            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>
498
498
<p>
499
499
Returns whether the table cells are all constrained to the same
500
500
width and height. (See <code class="function">gtk_table_set_homogenous()</code>)
510
510
<tr>
511
511
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
512
512
<td>
513
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the cells are all constrained to the same size</td>
 
513
<code class="literal">TRUE</code> if the cells are all constrained to the same size</td>
514
514
</tr>
515
515
</tbody>
516
516
</table></div>
518
518
<hr>
519
519
<div class="refsect2">
520
520
<a name="gtk-table-get-row-spacing"></a><h3>gtk_table_get_row_spacing ()</h3>
521
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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>,
522
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> row</code></em>);</pre>
 
521
<pre class="programlisting"><span class="returnvalue">guint</span>               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>,
 
522
                                                         <em class="parameter"><code><span class="type">guint</span> row</code></em>);</pre>
523
523
<p>
524
524
Gets the amount of space between row <em class="parameter"><code>row</code></em>, and
525
525
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>.
546
546
<hr>
547
547
<div class="refsect2">
548
548
<a name="gtk-table-get-col-spacing"></a><h3>gtk_table_get_col_spacing ()</h3>
549
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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>,
550
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> column</code></em>);</pre>
 
549
<pre class="programlisting"><span class="returnvalue">guint</span>               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>,
 
550
                                                         <em class="parameter"><code><span class="type">guint</span> column</code></em>);</pre>
551
551
<p>
552
552
Gets the amount of space between column <em class="parameter"><code>col</code></em>, and
553
553
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>.
574
574
<hr>
575
575
<div class="refsect2">
576
576
<a name="gtk-table-get-default-col-spacing"></a><h3>gtk_table_get_default_col_spacing ()</h3>
577
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/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>
 
577
<pre class="programlisting"><span class="returnvalue">guint</span>               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>
578
578
<p>
579
579
Gets the default column spacing for the table. This is
580
580
the spacing that will be used for newly added columns.
599
599
<div class="refsect2">
600
600
<a name="gtk-table-get-size"></a><h3>gtk_table_get_size ()</h3>
601
601
<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>,
602
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *rows</code></em>,
603
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *columns</code></em>);</pre>
 
602
                                                         <em class="parameter"><code><span class="type">guint</span> *rows</code></em>,
 
603
                                                         <em class="parameter"><code><span class="type">guint</span> *columns</code></em>);</pre>
604
604
<div class="variablelist"><table border="0">
605
605
<col align="left" valign="top">
606
606
<tbody>
612
612
<tr>
613
613
<td><p><span class="term"><em class="parameter"><code>rows</code></em> :</span></p></td>
614
614
<td>return location for the number of
615
 
rows, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <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>
 
615
rows, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
616
616
</td>
617
617
</tr>
618
618
<tr>
619
619
<td><p><span class="term"><em class="parameter"><code>columns</code></em> :</span></p></td>
620
620
<td>return location for the number
621
 
of columns, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <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>
 
621
of columns, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <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>
622
622
</td>
623
623
</tr>
624
624
</tbody>
630
630
<a name="GtkTable.property-details"></a><h2>Property Details</h2>
631
631
<div class="refsect2">
632
632
<a name="GtkTable--column-spacing"></a><h3>The <code class="literal">"column-spacing"</code> property</h3>
633
 
<pre class="programlisting">  "column-spacing"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
633
<pre class="programlisting">  "column-spacing"           <span class="type">guint</span>                 : Read / Write</pre>
634
634
<p>The amount of space between two consecutive columns.</p>
635
635
<p>Allowed values: &lt;= 65535</p>
636
636
<p>Default value: 0</p>
638
638
<hr>
639
639
<div class="refsect2">
640
640
<a name="GtkTable--homogeneous"></a><h3>The <code class="literal">"homogeneous"</code> property</h3>
641
 
<pre class="programlisting">  "homogeneous"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
641
<pre class="programlisting">  "homogeneous"              <span class="type">gboolean</span>              : Read / Write</pre>
642
642
<p>If TRUE, the table cells are all the same width/height.</p>
643
643
<p>Default value: FALSE</p>
644
644
</div>
645
645
<hr>
646
646
<div class="refsect2">
647
647
<a name="GtkTable--n-columns"></a><h3>The <code class="literal">"n-columns"</code> property</h3>
648
 
<pre class="programlisting">  "n-columns"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
648
<pre class="programlisting">  "n-columns"                <span class="type">guint</span>                 : Read / Write</pre>
649
649
<p>The number of columns in the table.</p>
650
650
<p>Allowed values: [1,65535]</p>
651
651
<p>Default value: 1</p>
653
653
<hr>
654
654
<div class="refsect2">
655
655
<a name="GtkTable--n-rows"></a><h3>The <code class="literal">"n-rows"</code> property</h3>
656
 
<pre class="programlisting">  "n-rows"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
656
<pre class="programlisting">  "n-rows"                   <span class="type">guint</span>                 : Read / Write</pre>
657
657
<p>The number of rows in the table.</p>
658
658
<p>Allowed values: [1,65535]</p>
659
659
<p>Default value: 1</p>
661
661
<hr>
662
662
<div class="refsect2">
663
663
<a name="GtkTable--row-spacing"></a><h3>The <code class="literal">"row-spacing"</code> property</h3>
664
 
<pre class="programlisting">  "row-spacing"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
664
<pre class="programlisting">  "row-spacing"              <span class="type">guint</span>                 : Read / Write</pre>
665
665
<p>The amount of space between two consecutive rows.</p>
666
666
<p>Allowed values: &lt;= 65535</p>
667
667
<p>Default value: 0</p>
671
671
<a name="GtkTable.child-property-details"></a><h2>Child Property Details</h2>
672
672
<div class="refsect2">
673
673
<a name="GtkTable--c-bottom-attach"></a><h3>The <code class="literal">"bottom-attach"</code> child property</h3>
674
 
<pre class="programlisting">  "bottom-attach"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
674
<pre class="programlisting">  "bottom-attach"            <span class="type">guint</span>                 : Read / Write</pre>
675
675
<p>The row number to attach the bottom of the child to.</p>
676
676
<p>Allowed values: [1,65535]</p>
677
677
<p>Default value: 1</p>
679
679
<hr>
680
680
<div class="refsect2">
681
681
<a name="GtkTable--c-left-attach"></a><h3>The <code class="literal">"left-attach"</code> child property</h3>
682
 
<pre class="programlisting">  "left-attach"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
682
<pre class="programlisting">  "left-attach"              <span class="type">guint</span>                 : Read / Write</pre>
683
683
<p>The column number to attach the left side of the child to.</p>
684
684
<p>Allowed values: &lt;= 65535</p>
685
685
<p>Default value: 0</p>
687
687
<hr>
688
688
<div class="refsect2">
689
689
<a name="GtkTable--c-right-attach"></a><h3>The <code class="literal">"right-attach"</code> child property</h3>
690
 
<pre class="programlisting">  "right-attach"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
690
<pre class="programlisting">  "right-attach"             <span class="type">guint</span>                 : Read / Write</pre>
691
691
<p>The column number to attach the right side of a child widget to.</p>
692
692
<p>Allowed values: [1,65535]</p>
693
693
<p>Default value: 1</p>
695
695
<hr>
696
696
<div class="refsect2">
697
697
<a name="GtkTable--c-top-attach"></a><h3>The <code class="literal">"top-attach"</code> child property</h3>
698
 
<pre class="programlisting">  "top-attach"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
698
<pre class="programlisting">  "top-attach"               <span class="type">guint</span>                 : Read / Write</pre>
699
699
<p>The row number to attach the top of a child widget to.</p>
700
700
<p>Allowed values: &lt;= 65535</p>
701
701
<p>Default value: 0</p>
710
710
<hr>
711
711
<div class="refsect2">
712
712
<a name="GtkTable--c-x-padding"></a><h3>The <code class="literal">"x-padding"</code> child property</h3>
713
 
<pre class="programlisting">  "x-padding"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
713
<pre class="programlisting">  "x-padding"                <span class="type">guint</span>                 : Read / Write</pre>
714
714
<p>Extra space to put between the child and its left and right neighbors, in pixels.</p>
715
715
<p>Allowed values: &lt;= 65535</p>
716
716
<p>Default value: 0</p>
725
725
<hr>
726
726
<div class="refsect2">
727
727
<a name="GtkTable--c-y-padding"></a><h3>The <code class="literal">"y-padding"</code> child property</h3>
728
 
<pre class="programlisting">  "y-padding"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
728
<pre class="programlisting">  "y-padding"                <span class="type">guint</span>                 : Read / Write</pre>
729
729
<p>Extra space to put between the child and its upper and lower neighbors, in pixels.</p>
730
730
<p>Allowed values: &lt;= 65535</p>
731
731
<p>Default value: 0</p>