mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Move documentation to inline comments: GtkSeparatorMenuItem
This commit is contained in:
parent
08bd42cf8d
commit
f121a502f9
1
docs/reference/gtk/tmpl/.gitignore
vendored
1
docs/reference/gtk/tmpl/.gitignore
vendored
@ -10,6 +10,7 @@ gtkradioaction.sgml
|
||||
gtkrecentaction.sgml
|
||||
gtkscalebutton.sgml
|
||||
gtkseparator.sgml
|
||||
gtkseparatormenuitem.sgml
|
||||
gtktesting.sgml
|
||||
gtktextiter.sgml
|
||||
gtktoggleaction.sgml
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user