zwp_input_method_v1¤
wayland.zwp_input_method_v1 ¤
Input method
An input method object is responsible for composing text in response to input from hardware or virtual keyboards. There is one input method object per seat. On activate there is a new input method context object created which allows the input method to communicate with the text input.
Methods:
-
on_activate
–Activate event.
-
on_deactivate
–Deactivate event.
events
activate ¤
activate(id: zwp_input_method_context_v1) -> None
Activate event
A text input was activated. Creates an input method context object which allows communication with the text input.
deactivate ¤
deactivate(context: zwp_input_method_context_v1) -> None
Deactivate event
The text input corresponding to the context argument was deactivated. The input method context should be destroyed after deactivation is handled.
on_activate ¤
on_activate(id: zwp_input_method_context_v1) -> None
Activate event.
Override to handle wayland.zwp_input_method_v1.events.activate
.
on_deactivate ¤
on_deactivate(context: zwp_input_method_context_v1) -> None
Deactivate event.
Override to handle wayland.zwp_input_method_v1.events.deactivate
.