SnapdCategoryDetails: snapd-glib Reference Manual

## SnapdCategoryDetails SnapdCategoryDetails — Snap category details metadata |

## Functions

const gchar * | snapd_category_details_get_name ()

## Properties

char * | name | Read / Write / Construct Only

## Types and Values

| SnapdCategoryDetails

## Object Hierarchy

        GObject
        ╰── SnapdCategoryDetails

## Includes

    #include <snapd-glib/snapd-glib.h>

## Description

A SnapdCategoryDetails contains the metadata for a given snap category as returned using `snapd_client_get_categories_sync()`.

## Functions

### snapd_category_details_get_name ()

    const gchar *
    snapd_category_details_get_name (SnapdCategoryDetails *category_details);

Get the name of this category, e.g. "social".

#### Parameters

category_details | a SnapdCategoryDetails. |

#### Returns

a name.

Since: 1.64

## Types and Values

### SnapdCategoryDetails

    typedef struct _SnapdCategoryDetails SnapdCategoryDetails;

SnapdCategoryDetails is an opaque data structure and can only be accessed using the provided functions.

Since: 1.64

## Property Details

### The `“name”` property

      “name”                     char *

The category name.

Owner: SnapdCategoryDetails

Flags: Read / Write / Construct Only

Default value: NULL