InputMethodContext
Base class for input method contexts.
WebKitInputMethodContext defines the interface to implement WebKit input methods. The input methods are used by WebKit, when editable content is focused, to map from key events to Unicode character strings.
An input method may consume multiple key events in sequence and finally output the composed result. This is called preediting, and an input method may provide feedback about this process by displaying the intermediate composition states as preedit text.
Skipped during bindings generation
parameter
text
: text: Out parameter is not supported
Since
2.28
Constructors
Properties
Functions
Emitted when a complete input sequence has been entered by the user. This can be a single character immediately after a key press or the final result of preediting.
Emitted when the input method wants to delete the context surrounding the cursor. If @offset is a negative value, it means a position before the cursor.
Emitted whenever the preedit sequence currently being entered has changed. It is also emitted at the end of a preedit sequence, in which case webkit_input_method_context_get_preedit() returns the empty string.
Emitted when a preediting sequence has been completed or canceled.
Emitted when a new preediting sequence starts.
Allow @key_event to be handled by the input method.
Notify @context that cursor area changed in input associated.
Notify @context that input associated has gained focus.
Notify @context that input associated has lost focus.
Notify @context that the context surrounding the cursor has changed.
Set whether @context should enable preedit to display feedback.