Move documentation to inline comments: GtkImageMenuItem

This commit is contained in:
Javier Jardón 2011-04-11 02:13:02 +01:00
parent 2728cc9508
commit f2fd3ee1d5
3 changed files with 12 additions and 152 deletions

View File

@ -31,6 +31,7 @@ gtkfixed.sgml
gtkfilefilter.sgml
gtkhbox.sgml
gtkiconview.sgml
gtkimagemenuitem.sgml
gtkimcontextsimple.sgml
gtkimmulticontext.sgml
gtkitemfactory.sgml

View File

@ -1,152 +0,0 @@
<!-- ##### SECTION Title ##### -->
GtkImageMenuItem
<!-- ##### SECTION Short_Description ##### -->
A menu item with an icon
<!-- ##### SECTION Long_Description ##### -->
<para>
A GtkImageMenuItem is a menu item which has an icon next to the text label.
</para>
<para>
Note that the user can disable display of menu icons, so make sure to still
fill in the text label.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### STRUCT GtkImageMenuItem ##### -->
<para>
</para>
<!-- ##### ARG GtkImageMenuItem:accel-group ##### -->
<para>
</para>
<!-- ##### ARG GtkImageMenuItem:always-show-image ##### -->
<para>
</para>
<!-- ##### ARG GtkImageMenuItem:image ##### -->
<para>
</para>
<!-- ##### ARG GtkImageMenuItem:use-stock ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_image_menu_item_set_image ##### -->
<para>
</para>
@image_menu_item:
@image:
<!-- ##### FUNCTION gtk_image_menu_item_get_image ##### -->
<para>
</para>
@image_menu_item:
@Returns:
<!-- ##### FUNCTION gtk_image_menu_item_new ##### -->
<para>
</para>
@void:
@Returns:
<!-- ##### FUNCTION gtk_image_menu_item_new_from_stock ##### -->
<para>
</para>
@stock_id:
@accel_group:
@Returns:
<!-- ##### FUNCTION gtk_image_menu_item_new_with_label ##### -->
<para>
</para>
@label:
@Returns:
<!-- ##### FUNCTION gtk_image_menu_item_new_with_mnemonic ##### -->
<para>
</para>
@label:
@Returns:
<!-- ##### FUNCTION gtk_image_menu_item_get_use_stock ##### -->
<para>
</para>
@image_menu_item:
@Returns:
<!-- ##### FUNCTION gtk_image_menu_item_set_use_stock ##### -->
<para>
</para>
@image_menu_item:
@use_stock:
<!-- ##### FUNCTION gtk_image_menu_item_get_always_show_image ##### -->
<para>
</para>
@image_menu_item:
@Returns:
<!-- ##### FUNCTION gtk_image_menu_item_set_always_show_image ##### -->
<para>
</para>
@image_menu_item:
@always_show:
<!-- ##### FUNCTION gtk_image_menu_item_set_accel_group ##### -->
<para>
</para>
@image_menu_item:
@accel_group:

View File

@ -42,6 +42,17 @@
#include "gtkprivate.h"
/**
* SECTION:gtkimagemenuitem
* @Short_description: A menu item with an icon
* @Title: GtkImageMenuItem
*
* A GtkImageMenuItem is a menu item which has an icon next to the text label.
*
* Note that the user can disable display of menu icons, so make sure to still
* fill in the text label.
*/
struct _GtkImageMenuItemPrivate
{