InputMethodContext.getPreedit

void getPreedit(out string text, out webkit.input_method_underline.InputMethodUnderline[] underlines, out uint cursorOffset)

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.

Parameters

textlocation to store the preedit string
underlineslocation to store the underlines as a #GList of #WebKitInputMethodUnderline
cursorOffsetlocation to store the position of cursor in preedit string