Virtual Method

WebKit2InputMethodContextfilter_key_event

since: 2.28

Declaration [src]

gboolean
filter_key_event (
  WebKitInputMethodContext* context,
  GdkEventKey* key_event
)

Description [src]

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.

Available since: 2.28

Parameters

key_event

Type: GdkEventKey

The key event to filter.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the key event was handled, or FALSE otherwise.