IBus.EmojiData¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The emoji annotation list |
||
r/w/co |
The emoji category |
||
r/w/c |
The emoji description |
||
r/w/co |
The emoji character UTF-8 |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class IBus.EmojiData(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Emoji data likes emoji unicode, annotations, description, category. You can get extended values with g_object_get_properties.
- classmethod load(path)¶
- Parameters:
path (
str
) – A path of the saved dictionary file.- Returns:
An
IBus.EmojiData
list loaded from the saved cache file.- Return type:
- classmethod save(path, list)¶
- Parameters:
path (
str
) – A path of the saved emoji data.list ([
IBus.EmojiData
]) – A list of emoji data.
Save the list of
IBus.EmojiData
to the cache file.
- get_annotations()¶
- Returns:
annotation list property in
IBus.EmojiData
- Return type:
[
str
]
Gets the annotation list in
IBus.EmojiData
. It should not be freed.
- get_category()¶
- Returns:
category property in
IBus.EmojiData
- Return type:
Gets the emoji category in
IBus.EmojiData
. It should not be freed.
- get_description()¶
- Returns:
description property in
IBus.EmojiData
- Return type:
Gets the emoji description in
IBus.EmojiData
. It should not be freed.
- get_emoji()¶
- Returns:
emoji property in
IBus.EmojiData
- Return type:
Gets the emoji character in
IBus.EmojiData
. It should not be freed.
- set_annotations(annotations)¶
- Parameters:
annotations ([
str
]) – List of emoji annotations
Sets the annotation list in
IBus.EmojiData
.
- set_description(description)¶
- Parameters:
description (
str
) – An emoji description
Sets the description in
IBus.EmojiData
.
Property Details¶
- IBus.EmojiData.props.annotations¶
-
The emoji annotations
- IBus.EmojiData.props.category¶
- Name:
category
- Type:
- Default Value:
''
- Flags:
The emoji category
- IBus.EmojiData.props.description¶
-
The emoji description