| ZIF Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
struct ZifCategory; struct ZifCategoryClass; ZifCategory * zif_category_new (void); const gchar * zif_category_get_parent_id (ZifCategory *category); const gchar * zif_category_get_id (ZifCategory *category); const gchar * zif_category_get_name (ZifCategory *category); const gchar * zif_category_get_summary (ZifCategory *category); const gchar * zif_category_get_icon (ZifCategory *category);
"cat-id" gchar* : Read / Write "icon" gchar* : Read / Write "name" gchar* : Read / Write "parent-id" gchar* : Read / Write "summary" gchar* : Read / Write
struct ZifCategoryClass {
	GObjectClass		parent_class;
	/* Padding for future expansion */
	void (*_zif_reserved1) (void);
	void (*_zif_reserved2) (void);
	void (*_zif_reserved3) (void);
	void (*_zif_reserved4) (void);
};
ZifCategory *       zif_category_new                    (void);
Returns :  | 
A new ZifCategory object. | 
Since 0.1.0
const gchar *       zif_category_get_parent_id          (ZifCategory *category);
Gets the parent category id.
  | 
A ZifCategory
 | 
Returns :  | 
A string value, or NULL for unset. | 
Since 0.1.0
const gchar *       zif_category_get_id                 (ZifCategory *category);
Gets the id specific to this category.
  | 
A ZifCategory
 | 
Returns :  | 
A string value, or NULL for unset. | 
Since 0.1.0
const gchar *       zif_category_get_name               (ZifCategory *category);
Gets the name.
  | 
A ZifCategory
 | 
Returns :  | 
A string value, or NULL for unset. | 
Since 0.1.0
const gchar *       zif_category_get_summary            (ZifCategory *category);
Gets the summary.
  | 
A ZifCategory
 | 
Returns :  | 
A string value, or NULL for unset. | 
Since 0.1.0
const gchar *       zif_category_get_icon               (ZifCategory *category);
Gets the icon filename.
  | 
A ZifCategory
 | 
Returns :  | 
A string value, or NULL for unset. | 
Since 0.1.0