39
39
must be in the range 0 .. 65535. If <em class="parameter"><code>homogeneous</code></em> is
40
40
<code class="literal">True</code> the table cells will all be the same size as the
41
41
largest cell. If <em class="parameter"><code>rows</code></em> or
42
<em class="parameter"><code>columns</code></em> are not specified they default to 1.</p></div><div class="refsect1" lang="en"><a name="id3687803"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtktable--resize"></a><h3>gtk.Table.resize</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">resize</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>rows</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>columns</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>rows</code></strong> :</span></p></td><td>The new number of rows.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>columns</code></strong> :</span></p></td><td>The new number of columns.</td></tr></tbody></table><p>The <code class="methodname">resize</code>() method changes the size of
42
<em class="parameter"><code>columns</code></em> are not specified they default to 1.</p></div><div class="refsect1" lang="en"><a name="id3888710"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtktable--resize"></a><h3>gtk.Table.resize</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">resize</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>rows</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>columns</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>rows</code></strong> :</span></p></td><td>The new number of rows.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>columns</code></strong> :</span></p></td><td>The new number of columns.</td></tr></tbody></table><p>The <code class="methodname">resize</code>() method changes the size of
43
43
the table as specified by the parameters, <em class="parameter"><code>rows</code></em> and
44
44
<em class="parameter"><code>columns</code></em>.</p></div><div class="refsect2" lang="en"><a name="method-gtktable--attach"></a><h3>gtk.Table.attach</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">attach</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>child</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>left_attach</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>right_attach</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>top_attach</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>bottom_attach</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>xoptions</code></strong></span><span class="initializer">=gtk.EXPAND|gtk.FILL</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>yoptions</code></strong></span><span class="initializer">=gtk.EXPAND|gtk.FILL</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>xpadding</code></strong></span><span class="initializer">=0</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>ypadding</code></strong></span><span class="initializer">=0</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>child</code></strong> :</span></p></td><td>the widget to add.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>left_attach</code></strong> :</span></p></td><td>the column number to attach the left side of a
45
45
child widget to.</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>right_attach</code></strong> :</span></p></td><td>the column number to attach the right side of a