Move documentation to inline comments: GtkSeparatorMenuItem

This commit is contained in:
Javier Jardón 2010-05-16 00:40:11 +02:00
parent 08bd42cf8d
commit f121a502f9
3 changed files with 20 additions and 40 deletions

View File

@ -10,6 +10,7 @@ gtkradioaction.sgml
gtkrecentaction.sgml
gtkscalebutton.sgml
gtkseparator.sgml
gtkseparatormenuitem.sgml
gtktesting.sgml
gtktextiter.sgml
gtktoggleaction.sgml

View File

@ -1,40 +0,0 @@
<!-- ##### 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.

View File

@ -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)
{