committed |
object
|
r |
|
delete_surrounding |
object
|
r |
|
filter_key_event |
object
|
r |
Called via WebKit2.InputMethodContext.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 WebKit2.InputMethodContext ::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. |
get_preedit |
object
|
r |
Called via WebKit2.InputMethodContext.get_preedit () to retrieve the text currently being preedited for display at the cursor position. Any input method which composes complex characters or any other compositions from multiple sequential key presses should override this method to provide feedback. |
notify_cursor_area |
object
|
r |
Called via WebKit2.InputMethodContext.notify_cursor_area () to inform the input method of the current cursor location relative to the client window. |
notify_focus_in |
object
|
r |
Called via WebKit2.InputMethodContext.notify_focus_in () when an editable element of the WebKit2.WebView has gained focus. |
notify_focus_out |
object
|
r |
Called via WebKit2.InputMethodContext.notify_focus_out () when an editable element of the WebKit2.WebView has lost focus. |
notify_surrounding |
object
|
r |
Called via WebKit2.InputMethodContext.notify_surrounding () to update the context surrounding the cursor. The provided text should not include the preedit string. |
parent_class |
GObject.ObjectClass
|
r |
|
preedit_changed |
object
|
r |
|
preedit_finished |
object
|
r |
|
preedit_started |
object
|
r |
|
reset |
object
|
r |
Called via WebKit2.InputMethodContext.reset () to signal a change that requires a reset. An input method that implements preediting should override this method to clear the preedit state on reset. |
set_enable_preedit |
object
|
r |
Called via WebKit2.InputMethodContext.set_enable_preedit () to control the use of the preedit string. |