Fcitx.Connection¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Emit when connected to fcitx and created ic |
|
Emit when disconnected from fcitx |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Fcitx.Connection(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
Fcitx.Connectionallow to create a input context via DBus- classmethod new()¶
- Returns:
A newly allocated
Fcitx.Connection- Return type:
New a
Fcitx.Connection
- get_g_dbus_connection()¶
- Returns:
Gio.DBusConnectionfor current connection- Return type:
Return the current
Gio.DBusConnection
- is_valid()¶
- Returns:
Fcitx.Connectionis valid or not- Return type:
Check
Fcitx.Connectionis valid to communicate with Fcitx
Signal Details¶
- Fcitx.Connection.signals.connected(connection)¶
- Signal Name:
connected- Flags:
- Parameters:
connection (
Fcitx.Connection) – The object which received the signal
Emit when connected to fcitx and created ic
- Fcitx.Connection.signals.disconnected(connection)¶
- Signal Name:
disconnected- Flags:
- Parameters:
connection (
Fcitx.Connection) – The object which received the signal
Emit when disconnected from fcitx