connectDeleteText

open fun connectDeleteText(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (startPos: Int, endPos: Int) -> Unit): <Error class: unknown class>

Emitted when text is deleted from the widget by the user.

The default handler for this signal will normally be responsible for deleting the text, so by connecting to this signal and then stopping the signal with g_signal_stop_emission(), it is possible to modify the range of deleted text, or prevent it from being deleted entirely.

The @start_pos and @end_pos parameters are interpreted as for method@Gtk.Editable.delete_text.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: startPos the starting position; endPos the end position