Commit 15d1d8bb authored by Steven Harms's avatar Steven Harms Committed by Javier Jardón

Move documentation to inline comments: GtkVSeparator

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611662
parent f0f3b018
<!-- ##### SECTION Title ##### -->
GtkVSeparator
<!-- ##### SECTION Short_Description ##### -->
A vertical separator
<!-- ##### SECTION Long_Description ##### -->
<para>
The #GtkVSeparator widget is a vertical separator, used to group the
widgets within a window. It displays a vertical line with a shadow to
make it appear sunken into the interface.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
<variablelist>
<varlistentry>
<term>#GtkHSeparator</term>
<listitem><para>a horizontal separator.</para></listitem>
</varlistentry>
</variablelist>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkVSeparator ##### -->
<para>
The #GtkVSeparator-struct struct contains private data only, and
should be accessed using the functions below.
</para>
<!-- ##### FUNCTION gtk_vseparator_new ##### -->
<para>
Creates a new #GtkVSeparator.
</para>
@Returns: a new #GtkVSeparator.
......@@ -30,6 +30,17 @@
#include "gtkvseparator.h"
#include "gtkalias.h"
/**
* SECTION:gtkvseparator
* @Short_description: A vertical separator
* @Title: GtkVSeparator
* @See_also: #GtkHSeparator
*
* The #GtkVSeparator widget is a vertical separator, used to group the
* widgets within a window. It displays a vertical line with a shadow to
* make it appear sunken into the interface.
*/
G_DEFINE_TYPE (GtkVSeparator, gtk_vseparator, GTK_TYPE_SEPARATOR)
static void
......@@ -44,6 +55,13 @@ gtk_vseparator_init (GtkVSeparator *vseparator)
GTK_ORIENTATION_VERTICAL);
}
/**
* gtk_vseparator_new:
*
* Creates a new #GtkVSeparator.
*
* Returns: a new #GtkVSeparator.
*/
GtkWidget *
gtk_vseparator_new (void)
{
......
......@@ -49,6 +49,12 @@ G_BEGIN_DECLS
typedef struct _GtkVSeparator GtkVSeparator;
typedef struct _GtkVSeparatorClass GtkVSeparatorClass;
/**
* GtkVSeparator:
*
* The #GtkVSeparator struct contains private data only, and
* should be accessed using the functions below.
*/
struct _GtkVSeparator
{
GtkSeparator separator;
......
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