connectDeleteFromCursor
fun connectDeleteFromCursor(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (type: DeleteType, <Error class: unknown class>) -> Unit): <Error class: unknown class>
Gets emitted when the user initiates a text deletion.
The ::delete-from-cursor signal 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, Ctrl+Delete for deleting a word and Ctrl+Backspace for deleting a word backwards.
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