IBusAttrList

## IBusAttrList IBusAttrList — AttrList of IBusText. |

## Stability Level

Stable, unless otherwise indicated

## Synopsis

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

## Object Hierarchy

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

## Description

## Details

### IBusAttrList

    typedef struct {
        GArray *attributes;
    } IBusAttrList;

Array of IBusAttribute.

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

### IBusAttrListClass

    typedef struct {
        IBusSerializableClass parent;
    } IBusAttrListClass;

### ibus_attr_list_new ()

    IBusAttrList *      ibus_attr_list_new                  ();

New an IBusAttrList.

Returns : | A newly allocated IBusAttrList.

### 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]

## See Also

IBusAttribute IBusText