connectRetrieveSurrounding

fun connectRetrieveSurrounding(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Boolean): <Error class: unknown class>

The ::retrieve-surrounding signal is emitted when the input method requires the context surrounding the cursor.

The callback should set the input method surrounding context by calling the method@Gtk.IMContext.set_surrounding method.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Returns true if the signal was handled.