InputMethodContext
Object Hierarchy:
Description:
[
CCode ( type_id =
"webkit_input_method_context_get_type ()" ) ]
[
Version ( since =
"2.28" ) ]
public abstract class InputMethodContext :
Object
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.
Content:
Properties:
Creation methods:
Methods:
Signals:
- public virtual signal void committed (string text)
Emitted when a complete input sequence has been entered by the user.
- public virtual signal void delete_surrounding (int offset, uint n_chars)
Emitted when the input method wants to delete the context surrounding
the cursor.
- public virtual signal void preedit_changed ()
Emitted whenever the preedit sequence currently being entered has
changed.
- public virtual signal void preedit_finished ()
Emitted when a preediting sequence has been completed or canceled.
- public virtual signal void preedit_started ()
Emitted when a new preediting sequence starts.
Inherited Members:
All known members inherited from class GLib.Object