Commit f121a502 authored by Javier Jardon's avatar Javier Jardon

Move documentation to inline comments: GtkSeparatorMenuItem

parent 08bd42cf
......@@ -10,6 +10,7 @@ gtkradioaction.sgml
gtkrecentaction.sgml
gtkscalebutton.sgml
gtkseparator.sgml
gtkseparatormenuitem.sgml
gtktesting.sgml
gtktextiter.sgml
gtktoggleaction.sgml
......
<!-- ##### SECTION Title ##### -->
GtkSeparatorMenuItem
<!-- ##### SECTION Short_Description ##### -->
A separator used in menus
<!-- ##### SECTION Long_Description ##### -->
<para>
The #GtkSeparatorMenuItem is a separator used to group
items within a menu. It displays a horizontal line with a shadow to
make it appear sunken into the interface.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### STRUCT GtkSeparatorMenuItem ##### -->
<para>
The #GtkSeparatorMenuItem-struct struct contains private data only, and
should be accessed using the functions below.
</para>
<!-- ##### FUNCTION gtk_separator_menu_item_new ##### -->
<para>
Creates a new #GtkSeparatorMenuItem.
</para>
@void:
@Returns: a new #GtkSeparatorMenuItem.
......@@ -28,6 +28,18 @@
#include "gtkseparatormenuitem.h"
#include "gtkalias.h"
/**
* SECTION:gtkseparatormenuitem
* @Short_description: A separator used in menus
* @Title: GtkSeparatorMenuItem
*
* The #GtkSeparatorMenuItem is a separator used to group
* items within a menu. It displays a horizontal line with a shadow to
* make it appear sunken into the interface.
*/
G_DEFINE_TYPE (GtkSeparatorMenuItem, gtk_separator_menu_item, GTK_TYPE_MENU_ITEM)
static void
......@@ -41,6 +53,13 @@ gtk_separator_menu_item_init (GtkSeparatorMenuItem *item)
{
}
/**
* gtk_separator_menu_item_new:
*
* Creates a new #GtkSeparatorMenuItem.
*
* Returns: a new #GtkSeparatorMenuItem.
*/
GtkWidget *
gtk_separator_menu_item_new (void)
{
......
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