get_preedit_string


Description:

public virtual void get_preedit_string (out string str, out AttrList attrs, out int cursor_pos)

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.

Parameters:

this

a IMContext

str

location to store the retrieved string. The string retrieved must be freed with g_free.

attrs

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

cursor_pos

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