Move documentation to inline comments: GtkVBox
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611831
This commit is contained in:
committed by
Javier Jardón
parent
a5e496cf87
commit
3f579a7a93
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user