InputMethodContext.getPreedit

Get the pre-edit string and a list of WebKitInputMethodUnderline.

Get the current pre-edit string for the context, and a list of WebKitInputMethodUnderline to apply to the string. The string will be displayed inserted at cursor_offset.

class InputMethodContext
void
getPreedit

Parameters

text string

location to store the preedit string

underlines webkit.input_method_underline.InputMethodUnderline[]

location to store the underlines as a #GList of #WebKitInputMethodUnderline

cursorOffset uint

location to store the position of cursor in preedit string