onRetrieveSurrounding

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

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.