summaryrefslogtreecommitdiff
path: root/gtk/gtkmenuitem.h
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-17 15:17:45 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-20 12:31:21 -0500
commitadd1ca00f4cc1517b233f3a2ae2afd0230d3de38 (patch)
treecc5222d06ef81f9cf46b1a1e4d62fd3767213ef9 /gtk/gtkmenuitem.h
parentf3f7c385d924ef2d22a804b2dca5190c1f8590d4 (diff)
downloadgtk+-add1ca00f4cc1517b233f3a2ae2afd0230d3de38.tar.gz
docs: add Gtk*Class docs
https://bugzilla.gnome.org/show_bug.cgi?id=81006
Diffstat (limited to 'gtk/gtkmenuitem.h')
-rw-r--r--gtk/gtkmenuitem.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gtk/gtkmenuitem.h b/gtk/gtkmenuitem.h
index 24c87838b0..70dbfd1bc9 100644
--- a/gtk/gtkmenuitem.h
+++ b/gtk/gtkmenuitem.h
@@ -54,10 +54,25 @@ struct _GtkMenuItem
GtkMenuItemPrivate *priv;
};
+/**
+ * GtkMenuItemClass:
+ * @parent_class: The parent class.
+ * @activate: Signal emitted when the item is activated.
+ * @activate_item: Signal emitted when the item is activated, but also
+ * if the menu item has a submenu.
+ * @toggle_size_request:
+ * @toggle_size_allocate:
+ * @set_label: Sets @text on the #GtkMenuItem label
+ * @get_label: Gets @text from the #GtkMenuItem label
+ * @select: Signal emitted when the item is selected.
+ * @deselect: Signal emitted when the item is deselected.
+ */
struct _GtkMenuItemClass
{
GtkBinClass parent_class;
+ /*< public >*/
+
/* If the following flag is true, then we should always
* hide the menu when the MenuItem is activated. Otherwise,
* it is up to the caller. For instance, when navigating
@@ -79,6 +94,8 @@ struct _GtkMenuItemClass
void (* select) (GtkMenuItem *menu_item);
void (* deselect) (GtkMenuItem *menu_item);
+ /*< private >*/
+
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);