delete_from_cursor


Description:

public virtual signal void delete_from_cursor (DeleteType type, int count)

Gets emitted when the user initiates a text deletion.

The delete_from_cursor signal 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, <kbd>Ctrl</kbd>-<kbd> Delete</kbd> for deleting a word and <kbd>Ctrl</kbd>-<kbd>Backspace</kbd> for deleting a word backwards.

Parameters:

type

the granularity of the deletion, as a `GtkDeleteType`

count

the number of type units to delete




2022 vala-language.org