Signal
Gtk.TextView::delete-from-cursor
Declaration
void
delete_from_cursor (
GtkTextView self,
GtkDeleteType* type,
gint count,
gpointer user_data
)
Description [src]
Gets emitted when the user initiates a text deletion.
The ::delete-from-cursor signal is a keybinding signal.
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.
Default handler: | The default handler is called after the handlers added via |
The signal can be emitted directly |
Parameters
type |
GtkDeleteType |
the granularity of the deletion, as a |
|
Ownership is not transferred to the callee | |
count |
gint |
the number of |