Fcitx.InputMethod¶
- Subclasses:
None
Methods¶
- Inherited:
Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The current IM |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emit when input method list changed |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Fcitx.InputMethod(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
Fcitx.InputMethod
allow you to control fcitx via DBus.- classmethod new(bus_type, flags, display_number, cancellable)¶
- Parameters:
bus_type (
Gio.BusType
) –Gio.BusType
flags (
Gio.DBusProxyFlags
) –Gio.DBusProxyFlags
display_number (
int
) – display_numbercancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
- Raises:
- Returns:
A newly allocated
Fcitx.InputMethod
.- Return type:
New a #fcitxInputMethod.
- activate()¶
Activate fcitx
- configure()¶
Send configure command to fcitx
- exit()¶
Send exit command to fcitx
- get_im_addon(imname)¶
-
Get addon name by im
- get_imlist()¶
- Returns:
A
Fcitx.IMItem
List- Return type:
Get Fcitx all im list
- inactivate()¶
Inactivate fcitx
- reload_config()¶
Send reload config command to fcitx
- restart()¶
Send restart command to fcitx
- set_imlist(array)¶
- Parameters:
array ([
Fcitx.IMItem
]) – AFcitx.IMItem
List
Set Fcitx all im list
- toggle()¶
toggle fcitx state
Signal Details¶
- Fcitx.InputMethod.signals.imlist_changed(input_method)¶
- Signal Name:
imlist-changed
- Flags:
- Parameters:
input_method (
Fcitx.InputMethod
) – The object which received the signal
Emit when input method list changed