IBus Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
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
);
GObject +----GInitiallyUnowned +----IBusObject +----IBusSerializable +----IBusAttrList
struct IBusAttrList { GArray *attributes; };
Array of IBusAttribute.
GArray that holds IBusAttribute. |
IBusAttrList * ibus_attr_list_new ();
New an IBusAttrList.
Returns : |
A newly allocated IBusAttrList. |
void ibus_attr_list_append (IBusAttrList *attr_list
,IBusAttribute *attr
);
Append an IBusAttribute to IBusAttrList, and increase reference.
|
An IBusAttrList instance. |
|
The IBusAttribute instance to be appended. |
IBusAttribute * ibus_attr_list_get (IBusAttrList *attr_list
,guint index
);
Returns IBusAttribute at given index. Borrowed reference.
|
An IBusAttrList instance. |
|
Index of the attr_list . |
Returns : |
IBusAttribute at given index, NULL if no such IBusAttribute. [transfer none] |