Commit 3cc95753 authored by Javier Jardón's avatar Javier Jardón

Move documentation to inline comments: GtkHBox

parent a6ed128a
gtkhbox.sgml
gtkmessagedialog.sgml
gtktesting.sgml
<!-- ##### SECTION Title ##### -->
GtkHBox
<!-- ##### SECTION Short_Description ##### -->
A horizontal container box
<!-- ##### SECTION Long_Description ##### -->
<para>
GtkHBox is a container that organizes child widgets into a single row.
</para>
<para>
Use the #GtkBox packing interface to determine the arrangement,
spacing, width, and alignment of GtkHBox children.
</para>
<para>
All children are allocated the same height.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
<variablelist>
<varlistentry>
<term>#GtkVBox</term>
<listitem><para>a sister class that organizes widgets into a column.</para></listitem>
</varlistentry>
</variablelist>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkHBox ##### -->
<!-- ##### FUNCTION gtk_hbox_new ##### -->
<para>
Creates a new GtkHBox.
</para>
@homogeneous: %TRUE if all children are to be given equal space allotments.
@spacing: the number of pixels to place by default between children.
@Returns: a new GtkHBox.
......@@ -30,6 +30,22 @@
#include "gtkorientable.h"
#include "gtkalias.h"
/**
* SECTION:gtkhbox
* @Short_description: A horizontal container box
* @Title: GtkHBox
* @See_also: #GtkVBox
*
* #GtkHBox is a container that organizes child widgets into a single row.
*
* Use the #GtkBox packing interface to determine the arrangement,
* spacing, width, and alignment of #GtkHBox children.
*
* All children are allocated the same height.
*/
G_DEFINE_TYPE (GtkHBox, gtk_hbox, GTK_TYPE_BOX)
static void
......@@ -46,6 +62,15 @@ gtk_hbox_init (GtkHBox *hbox)
_gtk_box_set_old_defaults (GTK_BOX (hbox));
}
/**
* gtk_hbox_new:
* @homogeneous: %TRUE if all children are to be given equal space allotments.
* @spacing: the number of pixels to place by default between children.
*
* Creates a new #GtkHBox.
*
* Returns: a new #GtkHBox.
*/
GtkWidget *
gtk_hbox_new (gboolean homogeneous,
gint spacing)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment