Signal
GtkTextView::delete-from-cursor
Declaration
void
delete_from_cursor (
GtkTextView* self,
GtkDeleteType type,
gint count,
gpointer user_data
)
Description [src]
The ::delete-from-cursor signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user initiates a text deletion.
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 backwords.
Default handler: The default handler is called after the handlers added via |
Signal can be directly emitted on objects from user code |
Parameters
type
-
Type:
GtkDeleteType
The granularity of the deletion, as a
GtkDeleteType
. count
-
Type:
gint
The number of
type
units to delete.