Expand description
input method context
Corresponds to a text input on the input method side. An input method context is created on text input activation on the input method side. It allows receiving information about the text input from the application via events. Input method contexts do not keep state after deactivation and should be destroyed after deactivation is handled.
Text is generally UTF-8 encoded, indices and lengths are in bytes.
Serials are used to synchronize the state between the text input and an input method. New serials are sent by the text input in the commit_state request and are used by the input method to indicate the known text input state in events like preedit_string, commit_string, and keysym. The text input can then ignore events from the input method which are based on an outdated state (for example after a reset).
Warning! The protocol described in this file is experimental and backward incompatible changes may be made. Backward compatible changes may be added together with the corresponding interface version bump. Backward incompatible changes are done by bumping the version number in the protocol and interface names and resetting the interface version. Once the protocol is to be declared stable, the ‘z’ prefix and the version number in the protocol and interface names are removed and the interface version number is reset.
Structs§
- ZwpInput
Method Context V1 - input method context
Enums§
Constants§
- EVT_
COMMIT_ STATE_ OPCODE - The wire opcode for this event
- EVT_
COMMIT_ STATE_ SINCE - The minimal object version supporting this event
- EVT_
CONTENT_ TYPE_ OPCODE - The wire opcode for this event
- EVT_
CONTENT_ TYPE_ SINCE - The minimal object version supporting this event
- EVT_
INVOKE_ ACTION_ OPCODE - The wire opcode for this event
- EVT_
INVOKE_ ACTION_ SINCE - The minimal object version supporting this event
- EVT_
PREFERRED_ LANGUAGE_ OPCODE - The wire opcode for this event
- EVT_
PREFERRED_ LANGUAGE_ SINCE - The minimal object version supporting this event
- EVT_
RESET_ OPCODE - The wire opcode for this event
- EVT_
RESET_ SINCE - The minimal object version supporting this event
- EVT_
SURROUNDING_ TEXT_ OPCODE - The wire opcode for this event
- EVT_
SURROUNDING_ TEXT_ SINCE - The minimal object version supporting this event
- REQ_
COMMIT_ STRING_ OPCODE - The wire opcode for this request
- REQ_
COMMIT_ STRING_ SINCE - The minimal object version supporting this request
- REQ_
CURSOR_ POSITION_ OPCODE - The wire opcode for this request
- REQ_
CURSOR_ POSITION_ SINCE - The minimal object version supporting this request
- REQ_
DELETE_ SURROUNDING_ TEXT_ OPCODE - The wire opcode for this request
- REQ_
DELETE_ SURROUNDING_ TEXT_ SINCE - The minimal object version supporting this request
- REQ_
DESTROY_ OPCODE - The wire opcode for this request
- REQ_
DESTROY_ SINCE - The minimal object version supporting this request
- REQ_
GRAB_ KEYBOARD_ OPCODE - The wire opcode for this request
- REQ_
GRAB_ KEYBOARD_ SINCE - The minimal object version supporting this request
- REQ_
KEYSYM_ OPCODE - The wire opcode for this request
- REQ_
KEYSYM_ SINCE - The minimal object version supporting this request
- REQ_
KEY_ OPCODE - The wire opcode for this request
- REQ_
KEY_ SINCE - The minimal object version supporting this request
- REQ_
LANGUAGE_ OPCODE - The wire opcode for this request
- REQ_
LANGUAGE_ SINCE - The minimal object version supporting this request
- REQ_
MODIFIERS_ MAP_ OPCODE - The wire opcode for this request
- REQ_
MODIFIERS_ MAP_ SINCE - The minimal object version supporting this request
- REQ_
MODIFIERS_ OPCODE - The wire opcode for this request
- REQ_
MODIFIERS_ SINCE - The minimal object version supporting this request
- REQ_
PREEDIT_ CURSOR_ OPCODE - The wire opcode for this request
- REQ_
PREEDIT_ CURSOR_ SINCE - The minimal object version supporting this request
- REQ_
PREEDIT_ STRING_ OPCODE - The wire opcode for this request
- REQ_
PREEDIT_ STRING_ SINCE - The minimal object version supporting this request
- REQ_
PREEDIT_ STYLING_ OPCODE - The wire opcode for this request
- REQ_
PREEDIT_ STYLING_ SINCE - The minimal object version supporting this request
- REQ_
TEXT_ DIRECTION_ OPCODE - The wire opcode for this request
- REQ_
TEXT_ DIRECTION_ SINCE - The minimal object version supporting this request