connectCommit

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

The ::commit signal is emitted when a complete input sequence has been entered by the user.

If the commit comes after a preediting sequence, the ::commit signal is emitted after ::preedit-end.

This can be a single character immediately after a key press or the final result of preediting.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: str the completed character(s) entered by the user