Merge lp:~ted/glib/menu-model-docs into lp:glib

Proposed by Ted Gould
Status: Work in progress
Proposed branch: lp:~ted/glib/menu-model-docs
Merge into: lp:glib
Diff against target: 26 lines (+16/-0)
1 file modified
gio/gmenumodel.h (+16/-0)
To merge this branch: bzr merge lp:~ted/glib/menu-model-docs
Reviewer Review Type Date Requested Status
Registry Administrators Pending
Review via email: mp+177448@code.launchpad.net

Description of the change

Add docs to GMenuModel virtual functions

To post a comment you must log in.

Unmerged revisions

13710. By Ted Gould

Document virtual functions that need (out)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'gio/gmenumodel.h'
2--- gio/gmenumodel.h 2013-04-22 20:12:42 +0000
3+++ gio/gmenumodel.h 2013-07-29 18:52:23 +0000
4@@ -141,6 +141,22 @@
5 GMenuModelPrivate *priv;
6 };
7
8+/**
9+ * GMenuModelClass::get_item_attributes:
10+ * @model: the #GMenuModel to query
11+ * @item_index: The #GMenuItem to query
12+ * @attributes: (out) (element-type utf8 GLib.Variant): Attributes on the item
13+ *
14+ * Gets all the attributes associated with the item in the menu model.
15+ */
16+/**
17+ * GMenuModelClass::get_item_links:
18+ * @model: the #GMenuModel to query
19+ * @item_index: The #GMenuItem to query
20+ * @attributes: (out) (element-type utf8 GLib.MenuModel): Links from the item
21+ *
22+ * Gets all the links associated with the item in the menu model.
23+ */
24 struct _GMenuModelClass
25 {
26 GObjectClass parent_class;

Subscribers

People subscribed via source and target branches