diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-03 18:28:54 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-01-04 23:37:10 +0900 |
commit | 7a673b2ed14137500a7a3c7c9f9442d7c1b4346d (patch) | |
tree | 384f3e4f8b7ebf62f1fdbe40ebce4b73d7331d88 /gtk/gtktreemenu.h | |
parent | f358dfbcccd4bf1a276d990ad04b39b25e1f03e4 (diff) | |
download | gtk+-7a673b2ed14137500a7a3c7c9f9442d7c1b4346d.tar.gz |
Added all documentation for new GtkTreeMenu
Diffstat (limited to 'gtk/gtktreemenu.h')
-rw-r--r-- | gtk/gtktreemenu.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/gtk/gtktreemenu.h b/gtk/gtktreemenu.h index 812c820ef7..5f92c6d4d6 100644 --- a/gtk/gtktreemenu.h +++ b/gtk/gtktreemenu.h @@ -46,6 +46,19 @@ typedef struct _GtkTreeMenu GtkTreeMenu; typedef struct _GtkTreeMenuClass GtkTreeMenuClass; typedef struct _GtkTreeMenuPrivate GtkTreeMenuPrivate; +/** + * GtkTreeMenuHeaderFunc: + * @model: a #GtkTreeModel + * @iter: the #GtkTreeIter pointing at a row in @model + * @data: user data + * + * Function type for determining whether the row pointed to by @iter + * which has children should be replicated as a header item in the + * child menu. + * + * Return value: %TRUE if @iter should have an activatable header menu + * item created for it in a submenu. + */ typedef gboolean (*GtkTreeMenuHeaderFunc) (GtkTreeModel *model, GtkTreeIter *iter, gpointer data); @@ -54,6 +67,7 @@ struct _GtkTreeMenu { GtkMenu parent_instance; + /*< private >*/ GtkTreeMenuPrivate *priv; }; @@ -61,6 +75,7 @@ struct _GtkTreeMenuClass { GtkMenuClass parent_class; + /*< private >*/ /* Padding for future expansion */ void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); @@ -68,8 +83,6 @@ struct _GtkTreeMenuClass void (*_gtk_reserved4) (void); void (*_gtk_reserved5) (void); void (*_gtk_reserved6) (void); - void (*_gtk_reserved7) (void); - void (*_gtk_reserved8) (void); }; GType gtk_tree_menu_get_type (void) G_GNUC_CONST; |