IBus.UnicodeBlock

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.UnicodeBlock IBus.UnicodeBlock IBus.Serializable->IBus.UnicodeBlock

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

load (path)

class

save (path, list)

get_end ()

get_name ()

get_start ()

Virtual Methods

Inherited:

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

Properties

Name

Type

Flags

Short Description

end

int

r/w/co

The Unicode end code point

name

str

r/w/c

The Unicode name

start

int

r/w/co

The Unicode start code point

Signals

Inherited:

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

Fields

Inherited:

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

Name

Type

Access

Description

parent

IBus.Serializable

r

Class Details

class IBus.UnicodeBlock(**kwargs)
Bases:

IBus.Serializable

Abstract:

No

Structure:

IBus.UnicodeBlockClass

classmethod load(path)
Parameters:

path (str) – A path of the saved dictionary file.

Returns:

An IBus.UnicodeBlock list loaded from the saved cache file.

Return type:

[IBus.UnicodeBlock]

classmethod save(path, list)
Parameters:
  • path (str) – A path of the saved Unicode block.

  • list ([IBus.UnicodeBlock]) – A list of unicode block.

Save the list of IBus.UnicodeBlock to the cache file.

get_end()
Returns:

end property in IBus.UnicodeBlock

Return type:

str

Gets the end code point in IBus.UnicodeBlock.

get_name()
Returns:

name property in IBus.UnicodeBlock

Return type:

str

Gets the name in IBus.UnicodeBlock. It should not be freed.

get_start()
Returns:

start property in IBus.UnicodeBlock

Return type:

str

Gets the start code point in IBus.UnicodeBlock.

Property Details

IBus.UnicodeBlock.props.end
Name:

end

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The Uniode end code point

IBus.UnicodeBlock.props.name
Name:

name

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE, CONSTRUCT

The Uniode block name

IBus.UnicodeBlock.props.start
Name:

start

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The Uniode start code point