IBusAttrList

IBusAttrList — AttrList of IBusText.

Stability Level

Stable, unless otherwise indicated

Synopsis

struct              IBusAttrList;
struct              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

struct IBusAttrList

struct IBusAttrList {
    GArray *attributes;
};

Array of IBusAttribute.

GArray *attributes;

GArray that holds IBusAttribute.

struct IBusAttrListClass

struct IBusAttrListClass {
    IBusSerializableClass parent;
};


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

IBusAttributeIBusText