FcitxG.Watcher¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emit when connected to fcitx and created ic |
Fields¶
- Inherited:
Class Details¶
- class FcitxG.Watcher(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
FcitxG.Watcher
allow to create a input context via DBus- classmethod new()¶
- Returns:
A newly allocated
FcitxG.Watcher
- Return type:
New a
FcitxG.Watcher
- get_connection()¶
- Returns:
Gio.DBusConnection
for current connection- Return type:
self: A
FcitxG.Watcher
Return the currentGio.DBusConnection
- set_watch_portal(watch)¶
- Parameters:
watch (
bool
) –
self: A
FcitxG.Watcher
watch: to monitor the portal service or not.
- unwatch()¶
Unwatch for the fcitx serivce, should only be called after calling
FcitxG.Watcher.watch
.
- watch()¶
Watch for the fcitx serivce.
Signal Details¶
- FcitxG.Watcher.signals.availability_changed(watcher, available)¶
- Signal Name:
availability-changed
- Flags:
- Parameters:
watcher (
FcitxG.Watcher
) – The object which received the signalavailable (
bool
) – whether fcitx service is available.
Emit when connected to fcitx and created ic