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
text | location to store the preedit string |
underlines | location to store the underlines as a #GList of #WebKitInputMethodUnderline |
cursorOffset | location to store the position of cursor in preedit string |