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.Kbd
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.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.LayoutItem
List- 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