ZifCategory

## ZifCategory ZifCategory — Category of packages |

## Synopsis

    struct              ZifCategory;
    struct              ZifCategoryClass;
    const gchar *       zif_category_get_icon               (ZifCategory *category);
    const gchar *       zif_category_get_id                 (ZifCategory *category);
    const gchar *       zif_category_get_name               (ZifCategory *category);
    const gchar *       zif_category_get_parent_id          (ZifCategory *category);
    const gchar *       zif_category_get_summary            (ZifCategory *category);
    ZifCategory *       zif_category_new                    (void);

## Object Hierarchy

      GObject
       +----ZifCategory

## Properties

      "cat-id"                   gchar*                : Read / Write
      "icon"                     gchar*                : Read / Write
      "name"                     gchar*                : Read / Write
      "parent-id"                gchar*                : Read / Write
      "summary"                  gchar*                : Read / Write

## Description

This GObject represents a category in the group system.

## Details

### struct ZifCategory

    struct ZifCategory;

### struct ZifCategoryClass

    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);
    };

### zif_category_get_icon ()

    const gchar *       zif_category_get_icon               (ZifCategory *category);

Gets the icon filename.

`category` : | A `ZifCategory`
Returns : | A string value, or `NULL` for unset.

Since 0.1.0

### zif_category_get_id ()

    const gchar *       zif_category_get_id                 (ZifCategory *category);

Gets the id specific to this category.

`category` : | A `ZifCategory`
Returns : | A string value, or `NULL` for unset.

Since 0.1.0

### zif_category_get_name ()

    const gchar *       zif_category_get_name               (ZifCategory *category);

Gets the name.

`category` : | A `ZifCategory`
Returns : | A string value, or `NULL` for unset.

Since 0.1.0

### zif_category_get_parent_id ()

    const gchar *       zif_category_get_parent_id          (ZifCategory *category);

Gets the parent category id.

`category` : | A `ZifCategory`
Returns : | A string value, or `NULL` for unset.

Since 0.1.0

### zif_category_get_summary ()

    const gchar *       zif_category_get_summary            (ZifCategory *category);

Gets the summary.

`category` : | A `ZifCategory`
Returns : | A string value, or `NULL` for unset.

Since 0.1.0

### zif_category_new ()

    ZifCategory *       zif_category_new                    (void);

Returns : | A new ZifCategory object.

Since 0.1.0

## Property Details

### The `"cat-id"` property

      "cat-id"                   gchar*                : Read / Write

Default value: NULL

Since 0.1.0

### The `"icon"` property

      "icon"                     gchar*                : Read / Write

Default value: NULL

Since 0.1.0

### The `"name"` property

      "name"                     gchar*                : Read / Write

Default value: NULL

Since 0.1.0

### The `"parent-id"` property

      "parent-id"                gchar*                : Read / Write

Default value: NULL

Since 0.1.0

### The `"summary"` property

      "summary"                  gchar*                : Read / Write

Default value: NULL

Since 0.1.0