Virtual Method
WPEWebKitInputMethodContextfilter_key_event
Declaration [src]
gboolean
filter_key_event (
WebKitInputMethodContext* context,
gpointer key_event
)
Description [src]
Called via webkit_input_method_context_filter_key_event()
on every
key press or release event. Every non-trivial input method needs to
override this in order to implement the mapping from key events to text.
A return value of TRUE
indicates to the caller that the event was
consumed by the input method. In that case, the WebKitInputMethodContext::committed
signal should be emitted upon completion of a key sequence to pass the
resulting text back to the editable element. Alternatively, FALSE
may be
returned to indicate that the event wasn’t handled by the input method.