IBus.PropList

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

append (prop)

get (index)

update_property (prop)

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

parent

IBus.Serializable

r

properties

[object]

r

GLib.Array that holds IBusProperties.

Class Details

class IBus.PropList(**kwargs)
Bases:

IBus.Serializable

Abstract:

No

Structure:

IBus.PropListClass

See_also: IBus.Property, IBus.Engine

classmethod new()
Returns:

A newly allocated IBus.PropList.

Return type:

IBus.PropList

Create a new IBus.PropList.

append(prop)
Parameters:

prop (IBus.Property) – IBus.Property to be append to self.

Append an IBus.Property to an IBus.PropList, and increase reference.

get(index)
Parameters:

index (int) – Index of an IBus.PropList.

Returns:

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

Return type:

IBus.Property

Gets IBus.Property at given index. Borrowed reference.

update_property(prop)
Parameters:

prop (IBus.Property) – IBus.Property to be update.

Returns:

True if succeeded, False otherwise.

Return type:

bool

Update an IBus.Property in IBus.PropList.