connectPreeditChanged

fun connectPreeditChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (preedit: String) -> Unit): <Error class: unknown class>

Emitted when preedit text of the active IM changes.

If an input method is used, the typed text will not immediately be committed to the buffer. So if you are interested in the text, connect to this signal.

This signal is only emitted if the text at the given position is actually editable.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: preedit the current preedit string