delete_from_cursor


Description:

public signal void delete_from_cursor (DeleteType type, int count)

Emitted when the user initiates a text deletion.

This is a [keybinding signal](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 <kbd>Delete</kbd> for deleting a character and <kbd>Ctrl</kbd>+<kbd> Delete</kbd> for deleting a word.

Parameters:

type

the granularity of the deletion, as a `GtkDeleteType`

count

the number of type units to delete