IMContext.getPreeditString

Retrieve the current preedit string for the input context, and a list of attributes to apply to the string.

This string should be displayed inserted at the insertion point.

class IMContext
void
getPreeditString
(
out string str
,,
out int cursorPos
)

Parameters

str string

location to store the retrieved string. The string retrieved must be freed with glib.global.gfree.

attrs pango.attr_list.AttrList

location to store the retrieved attribute list. When you are done with this list, you must unreference it with pango.attr_list.AttrList.unref.

cursorPos int

location to store position of cursor (in characters) within the preedit string.