29
32
<div class="contents">
30
<h1>Gtk::Table Class Reference<br>
33
<h1>Gtk::Table Class Reference<br/>
32
35
[<a class="el" href="group__Widgets.html">Widgets</a>, <a class="el" href="group__Containers.html">Container Widgets</a>]</small>
33
</h1><!-- doxytag: class="Gtk::Table" --><!-- doxytag: inherits="Gtk::Container" -->Pack widgets in regular patterns. <a href="#_details">More...</a>
35
Inherits <a class="el" href="classGtk_1_1Container.html">Gtk::Container</a>.
36
</h1><!-- doxytag: class="Gtk::Table" --><!-- doxytag: inherits="Gtk::Container" -->
37
<p>Pack widgets in regular patterns. <a href="#_details">More...</a></p>
39
<p>Inherits <a class="el" href="classGtk_1_1Container.html">Gtk::Container</a>.</p>
37
40
<div class="dynheader">
38
41
Collaboration diagram for Gtk::Table:</div>
39
42
<div class="dynsection">
40
<p><center><img src="classGtk_1_1Table__coll__graph.png" border="0" usemap="#Gtk_1_1Table__coll__map" alt="Collaboration graph"></center>
41
<map name="Gtk_1_1Table__coll__map">
42
<area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="61,379,165,405"><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="68,304,159,331"><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such..." alt="" coords="5,229,93,256"><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,155,96,181"><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,80,171,107"><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,155,227,181"><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,5,164,32"><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,229,237,256"></map>
43
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
46
<a href="classGtk_1_1Table-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
48
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classGtk_1_1Table__Helpers_1_1TableList.html">Table_Helpers::TableList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#26ca0b1279094591c011dd70f54adc87">TableList</a></td></tr>
51
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
52
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#e680cef1bee0049182eae639c3b90fd7">~Table</a> ()</td></tr>
54
<tr><td class="memItemLeft" nowrap align="right" valign="top">GtkTable* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#dc4b3dbe18d9cf298b8acb52b29ca1cf">gobj</a> ()</td></tr>
56
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#dc4b3dbe18d9cf298b8acb52b29ca1cf"></a><br></td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GtkTable* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a8e38be06124af148d38146877f80392">gobj</a> () const </td></tr>
59
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a8e38be06124af148d38146877f80392"></a><br></td></tr>
60
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#737661795265212dc75b876dd97034f8">Table</a> (guint n_rows=1, guint n_columns=1, bool homogeneous=false)</td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#28b6926e68337a51ba29f2b4dd69f087">attach</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach, <a class="el" href="group__gtkmmEnums.html#gd0ae047e9bb4f262003dbb94468f5d81">AttachOptions</a> xoptions=FILL|EXPAND, <a class="el" href="group__gtkmmEnums.html#gd0ae047e9bb4f262003dbb94468f5d81">AttachOptions</a> yoptions=FILL|EXPAND, guint xpadding=0, guint ypadding=0)</td></tr>
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#4f424987552a7ab8497eee384004b2dc">resize</a> (guint rows, guint columns)</td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#eaa6413b00c0a37f31f4c3334e906f67">set_row_spacing</a> (guint row, guint spacing)</td></tr>
68
<tr><td class="memItemLeft" nowrap align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#43a1d11be106859eb3e6181add38777b">get_row_spacing</a> (guint row) const </td></tr>
70
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the amount of space between row <em>row</em>, and row <em>row</em> + 1. <a href="#43a1d11be106859eb3e6181add38777b"></a><br></td></tr>
71
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#f77b4b9ea80e32d1c76c0e4466425676">set_col_spacing</a> (guint column, guint spacing)</td></tr>
73
<tr><td class="memItemLeft" nowrap align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#9dc52f72111ea2b96043ed14cbe0a6d7">get_col_spacing</a> (guint column) const </td></tr>
75
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the amount of space between column <em>col</em>, and column <em>col</em> + 1. <a href="#9dc52f72111ea2b96043ed14cbe0a6d7"></a><br></td></tr>
76
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#9a65db5a52a77361ccf6dae3b30e04d7">set_row_spacings</a> (guint spacing)</td></tr>
78
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#ea0cda0ce75493573df0fca34bb3e05d">set_col_spacings</a> (guint spacing)</td></tr>
80
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#b9f12c5410e9d93f6b1aaa23aedcd342">set_spacings</a> (guint spacing)</td></tr>
82
<tr><td class="memItemLeft" nowrap align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#62c9dddf829da9c26b46c27d1dfab542">get_default_row_spacing</a> ()</td></tr>
84
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the default row spacing for the table. <a href="#62c9dddf829da9c26b46c27d1dfab542"></a><br></td></tr>
85
<tr><td class="memItemLeft" nowrap align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#f38e361d93a52d82d4396a8e427eafe8">get_default_col_spacing</a> ()</td></tr>
87
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the default column spacing for the table. <a href="#f38e361d93a52d82d4396a8e427eafe8"></a><br></td></tr>
88
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#62eac0bc438bc052d247739833d0a84a">set_homogeneous</a> (bool homogeneous=true)</td></tr>
90
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#52ace3060aed96048d39e2120809d716">get_homogeneous</a> () const </td></tr>
92
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the table cells are all constrained to the same width and height. <a href="#52ace3060aed96048d39e2120809d716"></a><br></td></tr>
93
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Table__Helpers_1_1TableList.html">TableList</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#524cbe5effb04026af48070d021149c3">children</a> ()</td></tr>
95
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGtk_1_1Table__Helpers_1_1TableList.html">TableList</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#437b02c2a52cbbb7be96ade6783810bf">children</a> () const </td></tr>
97
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#cfb09e787e160f8a10aaf8a51a3edd8d">property_n_rows</a> ()</td></tr>
99
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of rows in the table. <a href="#cfb09e787e160f8a10aaf8a51a3edd8d"></a><br></td></tr>
100
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
101
< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#bba3ded0d7bc3386eaf1b57fc764ac17">property_n_rows</a> () const </td></tr>
103
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of rows in the table. <a href="#bba3ded0d7bc3386eaf1b57fc764ac17"></a><br></td></tr>
104
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#d568998787d11cb188541f3cc2571deb">property_n_columns</a> ()</td></tr>
106
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of columns in the table. <a href="#d568998787d11cb188541f3cc2571deb"></a><br></td></tr>
107
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
108
< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#1eab48d30d598f2b8f721e03c5ff84ba">property_n_columns</a> () const </td></tr>
110
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of columns in the table. <a href="#1eab48d30d598f2b8f721e03c5ff84ba"></a><br></td></tr>
111
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#bf97ec2979409e904514f62359d39b82">property_column_spacing</a> ()</td></tr>
113
<tr><td class="mdescLeft"> </td><td class="mdescRight">The amount of space between two consecutive columns. <a href="#bf97ec2979409e904514f62359d39b82"></a><br></td></tr>
114
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
115
< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#e577fd997b3aa1d4e19c7f685918c8c6">property_column_spacing</a> () const </td></tr>
117
<tr><td class="mdescLeft"> </td><td class="mdescRight">The amount of space between two consecutive columns. <a href="#e577fd997b3aa1d4e19c7f685918c8c6"></a><br></td></tr>
118
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#acba83aaed638547c0fd6c08d4294b7e">property_row_spacing</a> ()</td></tr>
120
<tr><td class="mdescLeft"> </td><td class="mdescRight">The amount of space between two consecutive rows. <a href="#acba83aaed638547c0fd6c08d4294b7e"></a><br></td></tr>
121
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
122
< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#32766df858a05f112614741974c30f51">property_row_spacing</a> () const </td></tr>
124
<tr><td class="mdescLeft"> </td><td class="mdescRight">The amount of space between two consecutive rows. <a href="#32766df858a05f112614741974c30f51"></a><br></td></tr>
125
<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
126
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
127
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGtk_1_1Table.html">Gtk::Table</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#59d0a83c09436cb8e8b11e156dd513db">wrap</a> (GtkTable* object, bool take_copy=false)</td></tr>
129
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#59d0a83c09436cb8e8b11e156dd513db"></a><br></td></tr>
43
<div class="center"><img src="classGtk_1_1Table__coll__graph.png" border="0" usemap="#Gtk_1_1Table_coll__map" alt="Collaboration graph"/></div>
44
<map name="Gtk_1_1Table_coll__map" id="Gtk_1_1Table_coll__map">
45
<area shape="rect" href="classGtk_1_1Container.html" title="Abstract container class." alt="" coords="61,379,165,405"/><area shape="rect" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)." alt="" coords="68,304,159,331"/><area shape="rect" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such..." alt="" coords="5,229,93,256"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,155,96,181"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="51,80,171,107"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="123,155,227,181"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="57,5,164,32"/><area shape="rect" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,229,237,256"/></map>
46
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
48
<p><a href="classGtk_1_1Table-members.html">List of all members.</a></p>
49
<table border="0" cellpadding="0" cellspacing="0">
50
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
51
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classGtk_1_1Table__Helpers_1_1TableList.html">Table_Helpers::TableList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a26ca0b1279094591c011dd70f54adc87">TableList</a></td></tr>
52
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
53
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#ae680cef1bee0049182eae639c3b90fd7">~Table</a> ()</td></tr>
54
<tr><td class="memItemLeft" align="right" valign="top">GtkTable* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#adc4b3dbe18d9cf298b8acb52b29ca1cf">gobj</a> ()</td></tr>
55
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#adc4b3dbe18d9cf298b8acb52b29ca1cf"></a><br/></td></tr>
56
<tr><td class="memItemLeft" align="right" valign="top">const GtkTable* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#aa8e38be06124af148d38146877f80392">gobj</a> () const </td></tr>
57
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#aa8e38be06124af148d38146877f80392"></a><br/></td></tr>
58
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a737661795265212dc75b876dd97034f8">Table</a> (guint n_rows=1, guint n_columns=1, bool homogeneous=false)</td></tr>
59
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a28b6926e68337a51ba29f2b4dd69f087">attach</a> (<a class="el" href="classGtk_1_1Widget.html">Widget</a>& child, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach, <a class="el" href="group__gtkmmEnums.html#gad0ae047e9bb4f262003dbb94468f5d81">AttachOptions</a> xoptions=FILL|EXPAND, <a class="el" href="group__gtkmmEnums.html#gad0ae047e9bb4f262003dbb94468f5d81">AttachOptions</a> yoptions=FILL|EXPAND, guint xpadding=0, guint ypadding=0)</td></tr>
60
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a4f424987552a7ab8497eee384004b2dc">resize</a> (guint rows, guint columns)</td></tr>
61
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#aeaa6413b00c0a37f31f4c3334e906f67">set_row_spacing</a> (guint row, guint spacing)</td></tr>
62
<tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a43a1d11be106859eb3e6181add38777b">get_row_spacing</a> (guint row) const </td></tr>
63
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the amount of space between row <em>row</em>, and row <em>row</em> + 1. <a href="#a43a1d11be106859eb3e6181add38777b"></a><br/></td></tr>
64
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#af77b4b9ea80e32d1c76c0e4466425676">set_col_spacing</a> (guint column, guint spacing)</td></tr>
65
<tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a9dc52f72111ea2b96043ed14cbe0a6d7">get_col_spacing</a> (guint column) const </td></tr>
66
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the amount of space between column <em>col</em>, and column <em>col</em> + 1. <a href="#a9dc52f72111ea2b96043ed14cbe0a6d7"></a><br/></td></tr>
67
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a9a65db5a52a77361ccf6dae3b30e04d7">set_row_spacings</a> (guint spacing)</td></tr>
68
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#aea0cda0ce75493573df0fca34bb3e05d">set_col_spacings</a> (guint spacing)</td></tr>
69
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#ab9f12c5410e9d93f6b1aaa23aedcd342">set_spacings</a> (guint spacing)</td></tr>
70
<tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a62c9dddf829da9c26b46c27d1dfab542">get_default_row_spacing</a> ()</td></tr>
71
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the default row spacing for the table. <a href="#a62c9dddf829da9c26b46c27d1dfab542"></a><br/></td></tr>
72
<tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#af38e361d93a52d82d4396a8e427eafe8">get_default_col_spacing</a> ()</td></tr>
73
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the default column spacing for the table. <a href="#af38e361d93a52d82d4396a8e427eafe8"></a><br/></td></tr>
74
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a62eac0bc438bc052d247739833d0a84a">set_homogeneous</a> (bool homogeneous=true)</td></tr>
75
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a52ace3060aed96048d39e2120809d716">get_homogeneous</a> () const </td></tr>
76
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the table cells are all constrained to the same width and height. <a href="#a52ace3060aed96048d39e2120809d716"></a><br/></td></tr>
77
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Table__Helpers_1_1TableList.html">TableList</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a524cbe5effb04026af48070d021149c3">children</a> ()</td></tr>
78
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Table__Helpers_1_1TableList.html">TableList</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a437b02c2a52cbbb7be96ade6783810bf">children</a> () const </td></tr>
79
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#acfb09e787e160f8a10aaf8a51a3edd8d">property_n_rows</a> ()</td></tr>
80
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of rows in the table. <a href="#acfb09e787e160f8a10aaf8a51a3edd8d"></a><br/></td></tr>
81
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
82
< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#abba3ded0d7bc3386eaf1b57fc764ac17">property_n_rows</a> () const </td></tr>
83
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of rows in the table. <a href="#abba3ded0d7bc3386eaf1b57fc764ac17"></a><br/></td></tr>
84
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#ad568998787d11cb188541f3cc2571deb">property_n_columns</a> ()</td></tr>
85
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of columns in the table. <a href="#ad568998787d11cb188541f3cc2571deb"></a><br/></td></tr>
86
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
87
< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a1eab48d30d598f2b8f721e03c5ff84ba">property_n_columns</a> () const </td></tr>
88
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of columns in the table. <a href="#a1eab48d30d598f2b8f721e03c5ff84ba"></a><br/></td></tr>
89
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#abf97ec2979409e904514f62359d39b82">property_column_spacing</a> ()</td></tr>
90
<tr><td class="mdescLeft"> </td><td class="mdescRight">The amount of space between two consecutive columns. <a href="#abf97ec2979409e904514f62359d39b82"></a><br/></td></tr>
91
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
92
< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#ae577fd997b3aa1d4e19c7f685918c8c6">property_column_spacing</a> () const </td></tr>
93
<tr><td class="mdescLeft"> </td><td class="mdescRight">The amount of space between two consecutive columns. <a href="#ae577fd997b3aa1d4e19c7f685918c8c6"></a><br/></td></tr>
94
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#aacba83aaed638547c0fd6c08d4294b7e">property_row_spacing</a> ()</td></tr>
95
<tr><td class="mdescLeft"> </td><td class="mdescRight">The amount of space between two consecutive rows. <a href="#aacba83aaed638547c0fd6c08d4294b7e"></a><br/></td></tr>
96
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
97
< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a32766df858a05f112614741974c30f51">property_row_spacing</a> () const </td></tr>
98
<tr><td class="mdescLeft"> </td><td class="mdescRight">The amount of space between two consecutive rows. <a href="#a32766df858a05f112614741974c30f51"></a><br/></td></tr>
99
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
100
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
102
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Table.html">Gtk::Table</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1Table.html#a59d0a83c09436cb8e8b11e156dd513db">wrap</a> (GtkTable* object, bool take_copy=false)</td></tr>
103
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a59d0a83c09436cb8e8b11e156dd513db"></a><br/></td></tr>
131
<hr><a name="_details"></a><h2>Detailed Description</h2>
132
Pack widgets in regular patterns. <p>
133
<a class="el" href="classGtk_1_1Table.html" title="Pack widgets in regular patterns.">Gtk::Table</a> is one of the primary ways of grouping widgets together. It consists of a set of lattice points to to which widgets can be attached. There are <em>rows</em> + 1 lattice points vertically and <em>columns</em> + 1 lattice points horizontally. Lattice points start counting from 0. Lattice points can either be specified to be <em>homogeneous</em>, meaning equally spaced, or not <em>homogeneous</em>, meaning each cell should be calculated based on the widgets contained in the row and column. The <em>homogeneous</em> property defaults to false.<p>
134
Widgets can be attached to the table by specifying the top, bottom, left and right points corresponding to upper, lefthand lattice point and the lower, righthand lattice point which the widget should span. Widgets can either be contained in a cell or may span cells. A number of options control the resizing behavior of widgets contained in the table.<p>
135
<dl class="user" compact><dt><b>Packing options:</b></dt><dd>There are a number of packing options that can be specified when adding a widget. With <code><a class="el" href="group__gtkmmEnums.html#ggd0ae047e9bb4f262003dbb94468f5d81376c39238459ee8d7dcb06ba100c4259">Gtk::EXPAND</a></code>, the lattice is allowed to grow to fill space. With <code><a class="el" href="group__gtkmmEnums.html#ggd0ae047e9bb4f262003dbb94468f5d81a150380dbcd41f196d5fa3b1761c0160">Gtk::SHRINK</a></code>, the lattice is allowed to shrink when resized. It is also possible to specify the behaviour of the widgets allocation within the table. The flag <code><a class="el" href="group__gtkmmEnums.html#ggd0ae047e9bb4f262003dbb94468f5d81036abcca77c9906e325a7bbd2a9787ea">Gtk::FILL</a></code> declares the widget should grow to fill lattice. If this is not set any extra space is used as padding. The default is <code>(<a class="el" href="group__gtkmmEnums.html#ggd0ae047e9bb4f262003dbb94468f5d81036abcca77c9906e325a7bbd2a9787ea">Gtk::FILL</a> | <a class="el" href="group__gtkmmEnums.html#ggd0ae047e9bb4f262003dbb94468f5d81376c39238459ee8d7dcb06ba100c4259">Gtk::EXPAND</a>)</code>.</dd></dl>
136
<dl class="user" compact><dt><b>Table sizing:</b></dt><dd>The table size is calculated based on the size of the widgets contained within and the restrictions imposed by specified options. Padding and spacing can be used in the table. Padding is added on either side of a widget, while spacing is placed between widgets.</dd></dl>
137
A <a class="el" href="classGtk_1_1Table.html" title="Pack widgets in regular patterns.">Table</a> widget looks like this: <div align="center">
138
<img src="table1.png" alt="table1.png">
105
<hr/><a name="_details"></a><h2>Detailed Description</h2>
106
<p>Pack widgets in regular patterns. </p>
107
<p><a class="el" href="classGtk_1_1Table.html" title="Pack widgets in regular patterns.">Gtk::Table</a> is one of the primary ways of grouping widgets together. It consists of a set of lattice points to to which widgets can be attached. There are <em>rows</em> + 1 lattice points vertically and <em>columns</em> + 1 lattice points horizontally. Lattice points start counting from 0. Lattice points can either be specified to be <em>homogeneous</em>, meaning equally spaced, or not <em>homogeneous</em>, meaning each cell should be calculated based on the widgets contained in the row and column. The <em>homogeneous</em> property defaults to false.</p>
108
<p>Widgets can be attached to the table by specifying the top, bottom, left and right points corresponding to upper, lefthand lattice point and the lower, righthand lattice point which the widget should span. Widgets can either be contained in a cell or may span cells. A number of options control the resizing behavior of widgets contained in the table.</p>
109
<dl class="user"><dt><b>Packing options:</b></dt><dd>There are a number of packing options that can be specified when adding a widget. With <code><a class="el" href="group__gtkmmEnums.html#ggad0ae047e9bb4f262003dbb94468f5d81a376c39238459ee8d7dcb06ba100c4259">Gtk::EXPAND</a></code>, the lattice is allowed to grow to fill space. With <code><a class="el" href="group__gtkmmEnums.html#ggad0ae047e9bb4f262003dbb94468f5d81aa150380dbcd41f196d5fa3b1761c0160">Gtk::SHRINK</a></code>, the lattice is allowed to shrink when resized. It is also possible to specify the behaviour of the widgets allocation within the table. The flag <code><a class="el" href="group__gtkmmEnums.html#ggad0ae047e9bb4f262003dbb94468f5d81a036abcca77c9906e325a7bbd2a9787ea" title="The widget should fill the space allocated to it.">Gtk::FILL</a></code> declares the widget should grow to fill lattice. If this is not set any extra space is used as padding. The default is <code>(<a class="el" href="group__gtkmmEnums.html#ggad0ae047e9bb4f262003dbb94468f5d81a036abcca77c9906e325a7bbd2a9787ea" title="The widget should fill the space allocated to it.">Gtk::FILL</a> | <a class="el" href="group__gtkmmEnums.html#ggad0ae047e9bb4f262003dbb94468f5d81a376c39238459ee8d7dcb06ba100c4259">Gtk::EXPAND</a>)</code>.</dd></dl>
110
<dl class="user"><dt><b>Table sizing:</b></dt><dd>The table size is calculated based on the size of the widgets contained within and the restrictions imposed by specified options. Padding and spacing can be used in the table. Padding is added on either side of a widget, while spacing is placed between widgets.</dd></dl>
111
<p>A <a class="el" href="classGtk_1_1Table.html" title="Pack widgets in regular patterns.">Table</a> widget looks like this: </p>
113
<img src="table1.png" alt="table1.png"/>
141
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row.">Gtk::HBox</a>, <a class="el" href="classGtk_1_1VBox.html" title="Vertical Box for laying widgets in a vertical row.">Gtk::VBox</a> </dd></dl>
142
<hr><h2>Member Typedef Documentation</h2>
143
<a class="anchor" name="26ca0b1279094591c011dd70f54adc87"></a><!-- doxytag: member="Gtk::Table::TableList" ref="26ca0b1279094591c011dd70f54adc87" args="" -->
115
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classGtk_1_1HBox.html" title="Horizontal Box for laying widgets in a horizontal row.">Gtk::HBox</a>, <a class="el" href="classGtk_1_1VBox.html" title="Vertical Box for laying widgets in a vertical row.">Gtk::VBox</a> </dd></dl>
116
<hr/><h2>Member Typedef Documentation</h2>
117
<a class="anchor" id="a26ca0b1279094591c011dd70f54adc87"></a><!-- doxytag: member="Gtk::Table::TableList" ref="a26ca0b1279094591c011dd70f54adc87" args="" -->
144
118
<div class="memitem">
145
119
<div class="memproto">
146
120
<table class="memname">
148
<td class="memname">typedef <a class="el" href="classGtk_1_1Table__Helpers_1_1TableList.html">Table_Helpers::TableList</a> <a class="el" href="classGtk_1_1Table__Helpers_1_1TableList.html">Gtk::Table::TableList</a> </td>
122
<td class="memname">typedef <a class="el" href="classGtk_1_1Table__Helpers_1_1TableList.html">Table_Helpers::TableList</a> <a class="el" href="classGtk_1_1Table__Helpers_1_1TableList.html">Gtk::Table::TableList</a></td>
152
126
<div class="memdoc">
158
<hr><h2>Constructor & Destructor Documentation</h2>
159
<a class="anchor" name="e680cef1bee0049182eae639c3b90fd7"></a><!-- doxytag: member="Gtk::Table::~Table" ref="e680cef1bee0049182eae639c3b90fd7" args="()" -->
130
<hr/><h2>Constructor & Destructor Documentation</h2>
131
<a class="anchor" id="ae680cef1bee0049182eae639c3b90fd7"></a><!-- doxytag: member="Gtk::Table::~Table" ref="ae680cef1bee0049182eae639c3b90fd7" args="()" -->
160
132
<div class="memitem">
161
133
<div class="memproto">
162
134
<table class="memname">
164
136
<td class="memname">virtual Gtk::Table::~Table </td>
166
<td class="paramname"> </td>
138
<td class="paramname"></td>
167
139
<td> ) </td>
168
140
<td><code> [virtual]</code></td>