## IBusAttrList

IBusAttrList — AttrList of IBusText.

## Stability Level

Stable, unless otherwise indicated

## Synopsis

    struct              IBusAttrList;
    struct              IBusAttrListClass;
    void                ibus_attr_list_append               (IBusAttrList *attr_list,
                                                             IBusAttribute *attr);
    IBusAttribute *     ibus_attr_list_get                  (IBusAttrList *attr_list,
                                                             guint index);
    IBusAttrList *      ibus_attr_list_new                  ();

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----IBusObject
                   +----IBusSerializable
                         +----IBusAttrList

## Description

## Details

### struct IBusAttrList

    struct IBusAttrList {
        GArray *attributes;
    };

Array of IBusAttribute.

GArray *`attributes`; | GArray that holds IBusAttribute.

### struct IBusAttrListClass

    struct IBusAttrListClass {
        IBusSerializableClass parent;
    };

### ibus_attr_list_append ()

    void                ibus_attr_list_append               (IBusAttrList *attr_list,
                                                             IBusAttribute *attr);

Append an IBusAttribute to IBusAttrList, and increase reference.

`attr_list` : | An IBusAttrList instance.
`attr` : | The IBusAttribute instance to be appended.

### ibus_attr_list_get ()

    IBusAttribute *     ibus_attr_list_get                  (IBusAttrList *attr_list,
                                                             guint index);

Returns IBusAttribute at given index. Borrowed reference.

`attr_list` : | An IBusAttrList instance.
`index` : | Index of the `attr_list`.
Returns : | IBusAttribute at given index, NULL if no such IBusAttribute. [transfer none]

### ibus_attr_list_new ()

    IBusAttrList *      ibus_attr_list_new                  ();

New an IBusAttrList.

Returns : | A newly allocated IBusAttrList.

## See Also

IBusAttribute IBusText