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 g_free().

attrs PgAttributeList

location to store the retrieved attribute list. When you are done with this list, you must unreference it with pango_attr_list_unref().

cursorPos int

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