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
Inheritors
Constructors
Types
The InputMethodContextImpl type represents a native instance of the abstract InputMethodContext class.
Properties
Functions
Emits the "committed" signal. See onCommitted.
Emits the "delete-surrounding" signal. See onDeleteSurrounding.
Emits the "preedit-changed" signal. See onPreeditChanged.
Emits the "preedit-finished" signal. See onPreeditFinished.
Emits the "preedit-started" signal. See onPreeditStarted.
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.
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.
Set whether @context should enable preedit to display feedback.