Gtk.Entry::delete-from-cursor
function callback(entry, type:Gtk.DeleteType, count:Number, ):void;
The ::delete-from-cursor signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user initiates a text deletion.
If the type is Gtk.DeleteType.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.
- entry
instance of Gtk.Entry that is emitting the signal
- type
the granularity of the deletion, as a Gtk.DeleteType
- count
the number of type units to delete