1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>gtk.HBox</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="previous" href="class-gtkhandlebox.html" title="gtk.HandleBox"><link rel="next" href="class-gtkhbuttonbox.html" title="gtk.HButtonBox"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.HBox</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkhandlebox.html">Prev</a></td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"><a accesskey="n" href="class-gtkhbuttonbox.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkhbox"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>gtk.HBox</h2><p>gtk.HBox — a horizontal container box</p></div><div class="refsect1" lang="en"><a name="id3430525"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.HBox</span></span>(<span class="ooclass"><span class="classname"><a href="class-gtkbox.html" title="gtk.Box">gtk.Box</a></span></span>):
<code class="constructorsynopsis"> <span class="methodname"><a href="class-gtkhbox.html#constructor-gtkhbox" title="Constructor">gtk.HBox</a></span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>homogeneous</tt></b></span><span class="initializer">=FALSE</span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>spacing</tt></b></span><span class="initializer">=0</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3430577"></a><h2>Ancestry</h2><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="synopsis">+-- <a href="class-gobject.html" title="gobject.GObject">gobject.GObject</a>
+-- <a href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
+-- <a href="class-gtkwidget.html" title="gtk.Widget">gtk.Widget</a>
+-- <a href="class-gtkcontainer.html" title="gtk.Container">gtk.Container</a>
+-- <a href="class-gtkbox.html" title="gtk.Box">gtk.Box</a>
+-- <a href="class-gtkhbox.html" title="gtk.HBox">gtk.HBox</a>
</pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3430618"></a><h2>Description</h2><p>The <a href="class-gtkhbox.html" title="gtk.HBox"><tt class="classname">gtk.HBox</tt></a> is a
container subclassed from <a href="class-gtkbox.html" title="gtk.Box"><tt class="classname">gtk.Box</tt></a> that organizes
its child widgets into a single horizontal row. The <a href="class-gtkbox.html" title="gtk.Box"><tt class="classname">gtk.Box</tt></a> methods are
used to manage the order, spacing, width and alignment of the child widgets
though all widgets are allocated the same height.</p></div><div class="refsect1" lang="en"><a name="constructor-gtkhbox"></a><h2>Constructor</h2><table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.HBox</span>(<span class="methodparam"><span class="parameter"><b class="parameter"><tt>homogeneous</tt></b></span><span class="initializer">=FALSE</span></span>, <span class="methodparam"><span class="parameter"><b class="parameter"><tt>spacing</tt></b></span><span class="initializer">=0</span></span>)</code></pre></td></tr></table><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term"><b class="parameter"><tt>homogeneous</tt></b>:</span></td><td>If <tt class="literal">TRUE</tt> all children are given
equal space allocations.</td></tr><tr><td><span class="term"><b class="parameter"><tt>spacing</tt></b>:</span></td><td>The additional horizontal space between children
in pixels</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>a new hbox widget</td></tr></tbody></table><p>Creates a new <a href="class-gtkhbox.html" title="gtk.HBox"><tt class="classname">gtk.HBox</tt></a>
widget.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkhandlebox.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="class-gtkhbuttonbox.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.HandleBox</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">gtk.HButtonBox</td></tr></table></div></body></html>
|