Virtual Method
GioMenuModelget_item_attributes
since: 2.32
Declaration
void
get_item_attributes (
GMenuModel* model,
gint item_index,
GHashTable** attributes
)
Description
Gets all the attributes associated with the item in the menu model.
Available since: 2.32
Parameters
item_index-
Type:
gintThe
GMenuItemto query. attributes-
Type:
GHashTableAttributes on the item.
The argument will be set by the function. The caller of the function takes ownership of the data, and is responsible for freeing it.