Fcitx.Kbd¶
- 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:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class Fcitx.Kbd(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
Fcitx.Kbdallow you to control fcitx via DBus.- classmethod new(bus_type, flags, display_number, cancellable)¶
- Parameters:
bus_type (
Gio.BusType) –Gio.BusTypeflags (
Gio.DBusProxyFlags) –Gio.DBusProxyFlagsdisplay_number (
int) – display_numbercancellable (
Gio.CancellableorNone) – AGio.CancellableorNone
- Raises:
- Returns:
A newly allocated
Fcitx.Kbd.- Return type:
New a #fcitxKbd.
- get_layout_for_im(imname)¶
- Parameters:
imname (
str) – input method name- Returns:
- layout:
return’d layout
- variant:
return’d variant
- Return type:
Get a layout binding with input method
- get_layouts()¶
- Returns:
A
Fcitx.LayoutItemList- Return type:
Get Fcitx all im list
- set_default_layout(layout, variant)¶
-
Set a layout binding with the state when there is no input method