Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GMenuModelClass Struct Reference

#include <gmenumodel.h>

Data Fields

GObjectClass parent_class
 
gboolean(* is_mutable )(GMenuModel *model)
 
gint(* get_n_items )(GMenuModel *model)
 
void(* get_item_attributes )(GMenuModel *model, gint item_index, GHashTable **attributes)
 
GMenuAttributeIter *(* iterate_item_attributes )(GMenuModel *model, gint item_index)
 
GVariant *(* get_item_attribute_value )(GMenuModel *model, gint item_index, const gchar *attribute, const GVariantType *expected_type)
 
void(* get_item_links )(GMenuModel *model, gint item_index, GHashTable **links)
 
GMenuLinkIter *(* iterate_item_links )(GMenuModel *model, gint item_index)
 
GMenuModel *(* get_item_link )(GMenuModel *model, gint item_index, const gchar *link)
 

Detailed Description

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 @links: (out) (element-type utf8 Gio.MenuModel): Links from the item

Gets all the links associated with the item in the menu model.

Definition at line 160 of file gmenumodel.h.

Field Documentation

◆ get_item_attribute_value

GVariant *(* _GMenuModelClass::get_item_attribute_value) (GMenuModel *model, gint item_index, const gchar *attribute, const GVariantType *expected_type)

Definition at line 171 of file gmenumodel.h.

◆ get_item_attributes

void(* _GMenuModelClass::get_item_attributes) (GMenuModel *model, gint item_index, GHashTable **attributes)

Definition at line 166 of file gmenumodel.h.

◆ get_item_link

GMenuModel *(* _GMenuModelClass::get_item_link) (GMenuModel *model, gint item_index, const gchar *link)

Definition at line 180 of file gmenumodel.h.

◆ get_item_links

void(* _GMenuModelClass::get_item_links) (GMenuModel *model, gint item_index, GHashTable **links)

Definition at line 175 of file gmenumodel.h.

◆ get_n_items

gint(* _GMenuModelClass::get_n_items) (GMenuModel *model)

Definition at line 165 of file gmenumodel.h.

◆ is_mutable

gboolean(* _GMenuModelClass::is_mutable) (GMenuModel *model)

Definition at line 164 of file gmenumodel.h.

◆ iterate_item_attributes

GMenuAttributeIter *(* _GMenuModelClass::iterate_item_attributes) (GMenuModel *model, gint item_index)

Definition at line 169 of file gmenumodel.h.

◆ iterate_item_links

GMenuLinkIter *(* _GMenuModelClass::iterate_item_links) (GMenuModel *model, gint item_index)

Definition at line 178 of file gmenumodel.h.

◆ parent_class

GObjectClass _GMenuModelClass::parent_class

Definition at line 162 of file gmenumodel.h.


The documentation for this struct was generated from the following file: