Sets our main struct and passes it to the parent class.
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. If %TRUE is returned, then no further processing should be done for the key event.
Get the value of the #WebKitInputMethodContext:input-hints property.
Get the main Gtk struct
Get the value of the #WebKitInputMethodContext:input-purpose property.
Get the current preedit string for the @context, and a list of WebKitInputMethodUnderline to apply to the string. The string will be displayed inserted at @cursor_offset.
the main Gtk struct as a void*
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. If there's no selection @selection_index is the same as @cursor_index.
Reset the @context. This will typically cause the input to clear the preedit state.
Set whether @context should enable preedit to display feedback.
Set the value of the #WebKitInputMethodContext:input-purpose property.
the main Gtk struct
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.