1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
|
<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="XfceHVBox">
<refmeta>
<refentrytitle>XfceHVBox</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBXFCE4PANEL Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>XfceHVBox</refname><refpurpose><para>
Container widget with configurable orienation.
</para></refpurpose>
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<synopsis>
<link linkend="XfceHVBox-struct">XfceHVBox</link>;
<link linkend="GtkWidget">GtkWidget</link>* <link linkend="xfce-hvbox-new">xfce_hvbox_new</link> (<link linkend="GtkOrientation">GtkOrientation</link> orientation,
<link linkend="gboolean">gboolean</link> homogeneous,
<link linkend="int">int</link> spacing);
<link linkend="void">void</link> <link linkend="xfce-hvbox-set-orientation">xfce_hvbox_set_orientation</link> (<link linkend="XfceHVBox">XfceHVBox</link> *hvbox,
<link linkend="GtkOrientation">GtkOrientation</link> orientation);
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
+----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
+----<link linkend="GtkObject">GtkObject</link>
+----<link linkend="GtkWidget">GtkWidget</link>
+----<link linkend="GtkContainer">GtkContainer</link>
+----<link linkend="GtkBox">GtkBox</link>
+----XfceHVBox
</synopsis>
</refsect1>
<refsect1>
<title>Implemented Interfaces</title>
<para>
XfceHVBox implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
</refsect1>
<refsect1>
<title>Description</title>
<para>
<link linkend="XfceHVBox"><type>XfceHVBox</type></link> is a <link linkend="GtkBox"><type>GtkBox</type></link> widget that allows the user to change its orientation.
It is in fact a combination of <link linkend="GtkHBox"><type>GtkHBox</type></link> and <link linkend="GtkVBox"><type>GtkVBox</type></link>.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="XfceHVBox-struct"/>XfceHVBox</title>
<indexterm><primary>XfceHVBox</primary></indexterm><programlisting>typedef struct _XfceHVBox XfceHVBox;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="xfce-hvbox-new"/>xfce_hvbox_new ()</title>
<indexterm><primary>xfce_hvbox_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* xfce_hvbox_new (<link linkend="GtkOrientation">GtkOrientation</link> orientation,
<link linkend="gboolean">gboolean</link> homogeneous,
<link linkend="int">int</link> spacing);</programlisting>
<para>
Creates a new <link linkend="XfceHVBox"><type>XfceHVBox</type></link> container widget.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>orientation</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>homogeneous</parameter> :</term>
<listitem><simpara> whether all children should be allocated the same size
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>spacing</parameter> :</term>
<listitem><simpara> spacing between <link linkend="XfceHVBox"><type>XfceHVBox</type></link> children
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the newly allocated <link linkend="XfceHVBox"><type>XfceHVBox</type></link> container widget.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="xfce-hvbox-set-orientation"/>xfce_hvbox_set_orientation ()</title>
<indexterm><primary>xfce_hvbox_set_orientation</primary></indexterm><programlisting><link linkend="void">void</link> xfce_hvbox_set_orientation (<link linkend="XfceHVBox">XfceHVBox</link> *hvbox,
<link linkend="GtkOrientation">GtkOrientation</link> orientation);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>hvbox</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>orientation</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>
</refentry>
|