8
8
<link rel="up" href="containers.html" title="Containers">
9
9
<link rel="prev" href="StBin.html" title="StBin">
10
10
<link rel="next" href="StScrollView.html" title="StScrollView">
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
45
45
<a name="StBoxLayout.synopsis"></a><h2>Synopsis</h2>
46
46
<pre class="synopsis">struct <a class="link" href="StBoxLayout.html#StBoxLayout-struct" title="struct StBoxLayout">StBoxLayout</a>;
47
47
struct <a class="link" href="StBoxLayout.html#StBoxLayoutClass" title="struct StBoxLayoutClass">StBoxLayoutClass</a>;
48
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="StBoxLayout.html#st-box-layout-get-pack-start" title="st_box_layout_get_pack_start ()">st_box_layout_get_pack_start</a> (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>);
49
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="StBoxLayout.html#st-box-layout-get-vertical" title="st_box_layout_get_vertical ()">st_box_layout_get_vertical</a> (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>);
48
50
<a class="link" href="StWidget.html" title="StWidget"><span class="returnvalue">StWidget</span></a> * <a class="link" href="StBoxLayout.html#st-box-layout-new" title="st_box_layout_new ()">st_box_layout_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
51
<span class="returnvalue">void</span> <a class="link" href="StBoxLayout.html#st-box-layout-set-pack-start" title="st_box_layout_set_pack_start ()">st_box_layout_set_pack_start</a> (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>,
52
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> pack_start</code></em>);
49
53
<span class="returnvalue">void</span> <a class="link" href="StBoxLayout.html#st-box-layout-set-vertical" title="st_box_layout_set_vertical ()">st_box_layout_set_vertical</a> (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>,
50
<em class="parameter"><code><span class="type">gboolean</span> vertical</code></em>);
51
<span class="returnvalue">gboolean</span> <a class="link" href="StBoxLayout.html#st-box-layout-get-vertical" title="st_box_layout_get_vertical ()">st_box_layout_get_vertical</a> (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>);
52
<span class="returnvalue">void</span> <a class="link" href="StBoxLayout.html#st-box-layout-set-pack-start" title="st_box_layout_set_pack_start ()">st_box_layout_set_pack_start</a> (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>,
53
<em class="parameter"><code><span class="type">gboolean</span> pack_start</code></em>);
54
<span class="returnvalue">gboolean</span> <a class="link" href="StBoxLayout.html#st-box-layout-get-pack-start" title="st_box_layout_get_pack_start ()">st_box_layout_get_pack_start</a> (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</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> vertical</code></em>);
57
57
<div class="refsect1">
58
58
<a name="StBoxLayout.object-hierarchy"></a><h2>Object Hierarchy</h2>
59
59
<pre class="synopsis">
61
+----GInitiallyUnowned
60
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
61
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
62
+----<a href="/usr/share/gtk-doc/html/clutter/ClutterActor.html">ClutterActor</a>
63
63
+----<a class="link" href="StWidget.html" title="StWidget">StWidget</a>
68
68
<a name="StBoxLayout.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
70
70
StBoxLayout implements
71
ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and StScrollable.</p>
71
<a href="/usr/share/gtk-doc/html/clutter/ClutterContainer.html">ClutterContainer</a>, <a href="/usr/share/gtk-doc/html/clutter/ClutterScriptable.html">ClutterScriptable</a>, <a href="/usr/share/gtk-doc/html/clutter/ClutterAnimatable.html">ClutterAnimatable</a>, AtkImplementorIface and StScrollable.</p>
73
73
<div class="refsect1">
74
74
<a name="StBoxLayout.properties"></a><h2>Properties</h2>
75
75
<pre class="synopsis">
76
"<a class="link" href="StBoxLayout.html#StBoxLayout--pack-start" title='The "pack-start" property'>pack-start</a>" <span class="type">gboolean</span> : Read / Write
77
"<a class="link" href="StBoxLayout.html#StBoxLayout--vertical" title='The "vertical" property'>vertical</a>" <span class="type">gboolean</span> : Read / Write
76
"<a class="link" href="StBoxLayout.html#StBoxLayout--pack-start" title='The "pack-start" property'>pack-start</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
77
"<a class="link" href="StBoxLayout.html#StBoxLayout--vertical" title='The "vertical" property'>vertical</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
80
80
<div class="refsect1">
110
110
<div class="refsect2">
111
<a name="st-box-layout-get-pack-start"></a><h3>st_box_layout_get_pack_start ()</h3>
112
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> st_box_layout_get_pack_start (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>);</pre>
114
Get the value of the <span class="type">"pack-start"</span> property.
116
<div class="variablelist"><table border="0" class="variablelist">
118
<col align="left" valign="top">
123
<td><p><span class="term"><em class="parameter"><code>box</code></em> :</span></p></td>
124
<td>A <a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a>
128
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
130
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if pack-start is enabled</td>
136
<div class="refsect2">
137
<a name="st-box-layout-get-vertical"></a><h3>st_box_layout_get_vertical ()</h3>
138
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> st_box_layout_get_vertical (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>);</pre>
140
Get the value of the <span class="type">"vertical"</span> property.
142
<div class="variablelist"><table border="0" class="variablelist">
144
<col align="left" valign="top">
149
<td><p><span class="term"><em class="parameter"><code>box</code></em> :</span></p></td>
150
<td>A <a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a>
154
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
156
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the layout is vertical</td>
162
<div class="refsect2">
111
163
<a name="st-box-layout-new"></a><h3>st_box_layout_new ()</h3>
112
164
<pre class="programlisting"><a class="link" href="StWidget.html" title="StWidget"><span class="returnvalue">StWidget</span></a> * st_box_layout_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
129
181
<div class="refsect2">
182
<a name="st-box-layout-set-pack-start"></a><h3>st_box_layout_set_pack_start ()</h3>
183
<pre class="programlisting"><span class="returnvalue">void</span> st_box_layout_set_pack_start (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>,
184
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> pack_start</code></em>);</pre>
186
Set the value of the <span class="type">"pack-start"</span> property.
188
<div class="variablelist"><table border="0" class="variablelist">
190
<col align="left" valign="top">
195
<td><p><span class="term"><em class="parameter"><code>box</code></em> :</span></p></td>
196
<td>A <a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a>
200
<td><p><span class="term"><em class="parameter"><code>pack_start</code></em> :</span></p></td>
202
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the layout should use pack-start</td>
208
<div class="refsect2">
130
209
<a name="st-box-layout-set-vertical"></a><h3>st_box_layout_set_vertical ()</h3>
131
210
<pre class="programlisting"><span class="returnvalue">void</span> st_box_layout_set_vertical (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>,
132
<em class="parameter"><code><span class="type">gboolean</span> vertical</code></em>);</pre>
211
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> vertical</code></em>);</pre>
134
213
Set the value of the <span class="type">"vertical"</span> property
148
227
<td><p><span class="term"><em class="parameter"><code>vertical</code></em> :</span></p></td>
150
<code class="literal">TRUE</code> if the layout should be vertical</td>
156
<div class="refsect2">
157
<a name="st-box-layout-get-vertical"></a><h3>st_box_layout_get_vertical ()</h3>
158
<pre class="programlisting"><span class="returnvalue">gboolean</span> st_box_layout_get_vertical (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>);</pre>
160
Get the value of the <span class="type">"vertical"</span> property.
162
<div class="variablelist"><table border="0" class="variablelist">
164
<col align="left" valign="top">
169
<td><p><span class="term"><em class="parameter"><code>box</code></em> :</span></p></td>
170
<td>A <a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a>
174
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
176
<code class="literal">TRUE</code> if the layout is vertical</td>
182
<div class="refsect2">
183
<a name="st-box-layout-set-pack-start"></a><h3>st_box_layout_set_pack_start ()</h3>
184
<pre class="programlisting"><span class="returnvalue">void</span> st_box_layout_set_pack_start (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>,
185
<em class="parameter"><code><span class="type">gboolean</span> pack_start</code></em>);</pre>
187
Set the value of the <span class="type">"pack-start"</span> property.
189
<div class="variablelist"><table border="0" class="variablelist">
191
<col align="left" valign="top">
196
<td><p><span class="term"><em class="parameter"><code>box</code></em> :</span></p></td>
197
<td>A <a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a>
201
<td><p><span class="term"><em class="parameter"><code>pack_start</code></em> :</span></p></td>
203
<code class="literal">TRUE</code> if the layout should use pack-start</td>
209
<div class="refsect2">
210
<a name="st-box-layout-get-pack-start"></a><h3>st_box_layout_get_pack_start ()</h3>
211
<pre class="programlisting"><span class="returnvalue">gboolean</span> st_box_layout_get_pack_start (<em class="parameter"><code><a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a> *box</code></em>);</pre>
213
Get the value of the <span class="type">"pack-start"</span> property.
215
<div class="variablelist"><table border="0" class="variablelist">
217
<col align="left" valign="top">
222
<td><p><span class="term"><em class="parameter"><code>box</code></em> :</span></p></td>
223
<td>A <a class="link" href="StBoxLayout.html" title="StBoxLayout"><span class="type">StBoxLayout</span></a>
227
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
229
<code class="literal">TRUE</code> if pack-start is enabled</td>
229
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the layout should be vertical</td>
236
236
<a name="StBoxLayout.property-details"></a><h2>Property Details</h2>
237
237
<div class="refsect2">
238
238
<a name="StBoxLayout--pack-start"></a><h3>The <code class="literal">"pack-start"</code> property</h3>
239
<pre class="programlisting"> "pack-start" <span class="type">gboolean</span> : Read / Write</pre>
239
<pre class="programlisting"> "pack-start" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
240
240
<p>Whether to pack items at the start of the box.</p>
241
241
<p>Default value: FALSE</p>
244
244
<div class="refsect2">
245
245
<a name="StBoxLayout--vertical"></a><h3>The <code class="literal">"vertical"</code> property</h3>
246
<pre class="programlisting"> "vertical" <span class="type">gboolean</span> : Read / Write</pre>
246
<pre class="programlisting"> "vertical" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
247
247
<p>Whether the layout should be vertical, ratherthan horizontal.</p>
248
248
<p>Default value: FALSE</p>