Skip to main content

Module input_method_v3

Module input_method_v3 

Source
Expand description

This implements support for the experimental xx-input-method-v2 protocol. That protocol will hopefully become -v3 without changing the API at some point.

This is a low-level interface to the input method. It will generally not check if the client is allowed to issue a request in context, e.g. when the input method is inactive.

It does handle some serials for the client, as well as it checks the validity of values for the current protocol version.

The client is responsible for avoiding protocol errors.

Structs§

Capabilities
Describes operations that can be performed on this input method.
InputMethod
InputMethodData
InputMethodEventState
Stores incoming interface state.
InputMethodManager
Popup
PopupData
Data reachable from XxInputPopupSurfaceV2
PopupPositioner
A trivial wrapper for an XxInputPopupPositionerV1.
PopupState
Server-provided popup state
PositionerData
Rectangle
Size
SurroundingText
XxInputMethodV1
input method
XxInputPopupPositionerV1
input method popup positioner
XxInputPopupSurfaceV2
popup surface

Enums§

Active
State machine for determining the capabilities of a text input
Anchor
CursorPosition
Gravity
InvalidIndex
Can’t set the preedit string due to cursor index not on UTF-8 code point boundary

Traits§

InputMethodHandler