Commit 09e47386 authored by Steven Harms's avatar Steven Harms Committed by Tristan Van Berkom
Browse files

Move documentation to inline comments: GtkVBox

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611831
parent 190096f4
<!-- ##### SECTION Title ##### -->
GtkVBox
<!-- ##### SECTION Short_Description ##### -->
A vertical container box
<!-- ##### SECTION Long_Description ##### -->
<para>
GtkVBox is a container that organizes child widgets into a single column.
</para>
<para>
Use the #GtkBox packing interface to determine the arrangement,
spacing, height, and alignment of GtkVBox children.
</para>
<para>
All children are allocated the same width.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
<variablelist>
<varlistentry>
<term>#GtkHBox</term>
<listitem><para>a sister class that organizes widgets into a row.</para></listitem>
</varlistentry>
</variablelist>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkVBox ##### -->
<!-- ##### FUNCTION gtk_vbox_new ##### -->
<para>
Creates a new GtkVBox.
</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 GtkVBox.
......@@ -30,6 +30,20 @@
#include "gtkvbox.h"
#include "gtkalias.h"
/**
* SECTION:gtkvbox
* @Short_description: A vertical container box
* @Title: GtkVBox
* @See_also: #GtkHBox
*
* A #GtkVBox is a container that organizes child widgets into a single column.
*
* Use the #GtkBox packing interface to determine the arrangement,
* spacing, height, and alignment of #GtkVBox children.
*
* All children are allocated the same width.
*/
G_DEFINE_TYPE (GtkVBox, gtk_vbox, GTK_TYPE_BOX)
static void
......@@ -46,6 +60,15 @@ gtk_vbox_init (GtkVBox *vbox)
_gtk_box_set_old_defaults (GTK_BOX (vbox));
}
/**
* gtk_vbox_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 #GtkVBox.
*
* Returns: a new #GtkVBox.
*/
GtkWidget *
gtk_vbox_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