IBus.AttrList

g GObject.InitiallyUnowned GObject.InitiallyUnowned IBus.Object IBus.Object GObject.InitiallyUnowned->IBus.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned IBus.AttrList IBus.AttrList IBus.Serializable IBus.Serializable IBus.Object->IBus.Serializable IBus.Serializable->IBus.AttrList

Subclasses:

None

Methods

Inherited:

IBus.Serializable (7), IBus.Object (2), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

append (attr)

get (index)

Virtual Methods

Inherited:

IBus.Serializable (3), IBus.Object (1), GObject.Object (7)

Properties

None

Signals

Inherited:

IBus.Object (1), GObject.Object (1)

Fields

Inherited:

IBus.Object (1), GObject.Object (1)

Name

Type

Access

Description

attributes

[object]

r

GLib.Array that holds IBus.Attribute.

parent

IBus.Serializable

r

Class Details

class IBus.AttrList(**kwargs)
Bases:

IBus.Serializable

Abstract:

No

Structure:

IBus.AttrListClass

Array of IBus.Attribute.

classmethod new()
Returns:

A newly allocated IBus.AttrList.

Return type:

IBus.AttrList

Creates an new IBus.AttrList.

append(attr)
Parameters:

attr (IBus.Attribute) – The IBus.Attribute instance to be appended.

Append an IBus.Attribute to IBus.AttrList, and increase reference.

get(index)
Parameters:

index (int) – Index of the self.

Returns:

IBus.Attribute at given index, None if no such IBus.Attribute.

Return type:

IBus.Attribute

Returns IBus.Attribute at given index. Borrowed reference.