mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
GMenuModel: add annotations to virtual functions
Patch from Ted Gould. https://bugzilla.gnome.org/show_bug.cgi?id=704931
This commit is contained in:
parent
9551a81198
commit
7a31a5010c
@ -141,6 +141,22 @@ struct _GMenuModel
|
||||
GMenuModelPrivate *priv;
|
||||
};
|
||||
|
||||
/**
|
||||
* GMenuModelClass::get_item_attributes:
|
||||
* @model: the #GMenuModel to query
|
||||
* @item_index: The #GMenuItem to query
|
||||
* @attributes: (out) (element-type utf8 GLib.Variant): Attributes on the item
|
||||
*
|
||||
* Gets all the attributes associated with the item in the menu model.
|
||||
*/
|
||||
/**
|
||||
* GMenuModelClass::get_item_links:
|
||||
* @model: the #GMenuModel to query
|
||||
* @item_index: The #GMenuItem to query
|
||||
* @attributes: (out) (element-type utf8 GLib.MenuModel): Links from the item
|
||||
*
|
||||
* Gets all the links associated with the item in the menu model.
|
||||
*/
|
||||
struct _GMenuModelClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
Loading…
Reference in New Issue
Block a user