connectDeleteFromCursor

fun connectDeleteFromCursor(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (type: DeleteType, count: Int) -> Unit): <Error class: unknown class>

Emitted when the user initiates a text deletion.

This is a class.SignalAction.html.

If the @type is %GTK_DELETE_CHARS, GTK deletes the selection if there is one, otherwise it deletes the requested number of characters.

The default bindings for this signal are Delete for deleting a character and Ctrl+Delete for deleting a word.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: type the granularity of the deletion, as a GtkDeleteType; count the number of @type units to delete