45
45
#include <libxfce4panel/libxfce4panel.h>
47
47
<a class="link" href="XfceHVBox.html#XfceHVBox-struct" title="XfceHVBox">XfceHVBox</a>;
48
<span class="returnvalue">GtkWidget</span> * <a class="link" href="XfceHVBox.html#xfce-hvbox-new" title="xfce_hvbox_new ()">xfce_hvbox_new</a> (<em class="parameter"><code><span class="type">GtkOrientation</span> orientation</code></em>,
49
<em class="parameter"><code><span class="type">gboolean</span> homogeneous</code></em>,
50
<em class="parameter"><code><span class="type">gint</span> spacing</code></em>);
48
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="XfceHVBox.html#xfce-hvbox-new" title="xfce_hvbox_new ()">xfce_hvbox_new</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>,
49
<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>,
50
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>);
51
51
<span class="returnvalue">void</span> <a class="link" href="XfceHVBox.html#xfce-hvbox-set-orientation" title="xfce_hvbox_set_orientation ()">xfce_hvbox_set_orientation</a> (<em class="parameter"><code><a class="link" href="XfceHVBox.html" title="XfceHVBox"><span class="type">XfceHVBox</span></a> *hvbox</code></em>,
52
<em class="parameter"><code><span class="type">GtkOrientation</span> orientation</code></em>);
53
<span class="returnvalue">GtkOrientation</span> <a class="link" href="XfceHVBox.html#xfce-hvbox-get-orientation" title="xfce_hvbox_get_orientation ()">xfce_hvbox_get_orientation</a> (<em class="parameter"><code><a class="link" href="XfceHVBox.html" title="XfceHVBox"><span class="type">XfceHVBox</span></a> *hvbox</code></em>);
52
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);
53
<a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="returnvalue">GtkOrientation</span></a> <a class="link" href="XfceHVBox.html#xfce-hvbox-get-orientation" title="xfce_hvbox_get_orientation ()">xfce_hvbox_get_orientation</a> (<em class="parameter"><code><a class="link" href="XfceHVBox.html" title="XfceHVBox"><span class="type">XfceHVBox</span></a> *hvbox</code></em>);
56
56
<div class="refsect1">
57
57
<a name="XfceHVBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
58
58
<pre class="synopsis">
60
+----GInitiallyUnowned
59
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
60
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
61
+----<a href="../gtk2/GtkObject.html">GtkObject</a>
62
+----<a href="http://developer.gnome.org/gtk2/GtkWidget.html">GtkWidget</a>
63
+----<a href="http://developer.gnome.org/gtk2/GtkContainer.html">GtkContainer</a>
64
+----<a href="http://developer.gnome.org/gtk2/GtkBox.html">GtkBox</a>
69
69
<a name="XfceHVBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
71
71
XfceHVBox implements
72
AtkImplementorIface, GtkBuildable and GtkOrientable.</p>
72
AtkImplementorIface, <a href="http://developer.gnome.org/gtk2/GtkBuildable.html">GtkBuildable</a> and <a href="http://developer.gnome.org/gtk2/gtk3-Orientable.html#GtkOrientable">GtkOrientable</a>.</p>
74
74
<div class="refsect1">
75
75
<a name="XfceHVBox.description"></a><h2>Description</h2>
77
<a class="link" href="XfceHVBox.html" title="XfceHVBox"><span class="type">XfceHVBox</span></a> is a <span class="type">GtkBox</span> widget that allows the user to change
78
its orientation. It is in fact a combination of <span class="type">GtkHBox</span> and <span class="type">GtkVBox</span>.
77
<a class="link" href="XfceHVBox.html" title="XfceHVBox"><span class="type">XfceHVBox</span></a> is a <a href="http://developer.gnome.org/gtk2/GtkBox.html"><span class="type">GtkBox</span></a> widget that allows the user to change
78
its orientation. It is in fact a combination of <a href="http://developer.gnome.org/gtk2/GtkHBox.html"><span class="type">GtkHBox</span></a> and <a href="http://developer.gnome.org/gtk2/GtkVBox.html"><span class="type">GtkVBox</span></a>.
81
81
If your code depends on Gtk+ 2.16 or later, if it better to use
82
the normal <span class="type">GtkBox</span> widgets in combination with
83
<code class="function">gtk_orientable_set_orientation()</code>.
82
the normal <a href="http://developer.gnome.org/gtk2/GtkBox.html"><span class="type">GtkBox</span></a> widgets in combination with
83
<a href="http://developer.gnome.org/gtk2/gtk3-Orientable.html#gtk-orientable-set-orientation"><code class="function">gtk_orientable_set_orientation()</code></a>.
86
See also: <span class="type">GtkOrientable</span> and <span class="type">GtkBox</span>.
86
See also: <a href="http://developer.gnome.org/gtk2/gtk3-Orientable.html#GtkOrientable"><span class="type">GtkOrientable</span></a> and <a href="http://developer.gnome.org/gtk2/GtkBox.html"><span class="type">GtkBox</span></a>.
89
89
<div class="refsect1">
100
100
<div class="refsect2">
101
101
<a name="xfce-hvbox-new"></a><h3>xfce_hvbox_new ()</h3>
102
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * xfce_hvbox_new (<em class="parameter"><code><span class="type">GtkOrientation</span> orientation</code></em>,
103
<em class="parameter"><code><span class="type">gboolean</span> homogeneous</code></em>,
104
<em class="parameter"><code><span class="type">gint</span> spacing</code></em>);</pre>
102
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * xfce_hvbox_new (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>,
103
<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>,
104
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>);</pre>
106
106
Creates a new <a class="link" href="XfceHVBox.html" title="XfceHVBox"><span class="type">XfceHVBox</span></a> container widget.
135
135
<div class="refsect2">
136
136
<a name="xfce-hvbox-set-orientation"></a><h3>xfce_hvbox_set_orientation ()</h3>
137
137
<pre class="programlisting"><span class="returnvalue">void</span> xfce_hvbox_set_orientation (<em class="parameter"><code><a class="link" href="XfceHVBox.html" title="XfceHVBox"><span class="type">XfceHVBox</span></a> *hvbox</code></em>,
138
<em class="parameter"><code><span class="type">GtkOrientation</span> orientation</code></em>);</pre>
138
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);</pre>
140
140
Set the new orientation of the <a class="link" href="XfceHVBox.html" title="XfceHVBox"><span class="type">XfceHVBox</span></a> container widget.
161
161
<div class="refsect2">
162
162
<a name="xfce-hvbox-get-orientation"></a><h3>xfce_hvbox_get_orientation ()</h3>
163
<pre class="programlisting"><span class="returnvalue">GtkOrientation</span> xfce_hvbox_get_orientation (<em class="parameter"><code><a class="link" href="XfceHVBox.html" title="XfceHVBox"><span class="type">XfceHVBox</span></a> *hvbox</code></em>);</pre>
163
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="returnvalue">GtkOrientation</span></a> xfce_hvbox_get_orientation (<em class="parameter"><code><a class="link" href="XfceHVBox.html" title="XfceHVBox"><span class="type">XfceHVBox</span></a> *hvbox</code></em>);</pre>
165
165
Get the current orientation of the <em class="parameter"><code>hvbox</code></em>.