| ZIF Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
ZifCategoryPrivate; struct ZifCategory; struct ZifCategoryClass; ZifCategory * zif_category_new (void); const gchar * zif_category_get_parent_id (ZifCategory *category); void zif_category_set_parent_id (ZifCategory *category,const gchar *parent_id); const gchar * zif_category_get_id (ZifCategory *category); void zif_category_set_id (ZifCategory *category,const gchar *cat_id); const gchar * zif_category_get_name (ZifCategory *category); void zif_category_set_name (ZifCategory *category,const gchar *name); const gchar * zif_category_get_summary (ZifCategory *category); void zif_category_set_summary (ZifCategory *category,const gchar *summary); const gchar * zif_category_get_icon (ZifCategory *category); void zif_category_set_icon (ZifCategory *category,const gchar *icon);
"cat-id" gchar* : Read / Write "icon" gchar* : Read / Write "name" gchar* : Read / Write "parent-id" gchar* : Read / Write "summary" gchar* : Read / Write
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
void zif_category_set_parent_id (ZifCategory *category,const gchar *parent_id);
Sets the parent category id.
|
A ZifCategory
|
|
A new value |
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
void zif_category_set_id (ZifCategory *category,const gchar *cat_id);
Sets the id specific to this category.
|
A ZifCategory
|
|
A new value |
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
void zif_category_set_name (ZifCategory *category,const gchar *name);
Sets the name.
|
A ZifCategory
|
|
A new value |
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
void zif_category_set_summary (ZifCategory *category,const gchar *summary);
Sets the summary.
|
A ZifCategory
|
|
A new value |
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
void zif_category_set_icon (ZifCategory *category,const gchar *icon);
Sets the icon filename.
|
A ZifCategory
|
|
A new value |
Since 0.1.0