## GUPnPDIDLLiteContainer

GUPnPDIDLLiteContainer — DIDL-Lite Container

## Synopsis

                        GUPnPDIDLLiteContainer;
    gboolean            gupnp_didl_lite_container_get_searchable
                                                            (GUPnPDIDLLiteContainer *container);
    gint                gupnp_didl_lite_container_get_child_count
                                                            (GUPnPDIDLLiteContainer *container);
    void                gupnp_didl_lite_container_set_searchable
                                                            (GUPnPDIDLLiteContainer *container,
                                                             gboolean searchable);
    void                gupnp_didl_lite_container_set_child_count
                                                            (GUPnPDIDLLiteContainer *container,
                                                             gint child_count);

## Object Hierarchy

      GObject
       +----GUPnPDIDLLiteObject
             +----GUPnPDIDLLiteContainer

## Properties

      "child-count"              gint                  : Read / Write
      "searchable"               gboolean              : Read / Write

## Description

GUPnPDIDLLiteContainer respresents a DIDL-Lite container element.

## Details

### GUPnPDIDLLiteContainer

    typedef struct _GUPnPDIDLLiteContainer GUPnPDIDLLiteContainer;

### gupnp_didl_lite_container_get_searchable ()

    gboolean            gupnp_didl_lite_container_get_searchable
                                                            (GUPnPDIDLLiteContainer *container);

Checks whether `container` is searchable.

`container` : | GUPnPDIDLLiteContainer
Returns : | TRUE if `container` is searchable.

### gupnp_didl_lite_container_get_child_count ()

    gint                gupnp_didl_lite_container_get_child_count
                                                            (GUPnPDIDLLiteContainer *container);

Get the child count of the `container`. If the child count is unknown, -1 is returned.

`container` : | GUPnPDIDLLiteContainer
Returns : | The child count of the `container`, or -1 if it is unknown.

### gupnp_didl_lite_container_set_searchable ()

    void                gupnp_didl_lite_container_set_searchable
                                                            (GUPnPDIDLLiteContainer *container,
                                                             gboolean searchable);

(Un)set the searchibility of `container`.

`container` : | GUPnPDIDLLiteContainer
`searchable` : | The searchibility

### gupnp_didl_lite_container_set_child_count ()

    void                gupnp_didl_lite_container_set_child_count
                                                            (GUPnPDIDLLiteContainer *container,
                                                             gint child_count);

Set the child count of the `container`.

`container` : | GUPnPDIDLLiteContainer
`child_count` : | The child count

## Property Details

### The `"child-count"` property

      "child-count"              gint                  : Read / Write

The child count of this container.

Allowed values: >= 0

Default value: 0

### The `"searchable"` property

      "searchable"               gboolean              : Read / Write

Whether this container is searchable.

Default value: FALSE