Signal
GtkText::delete-from-cursor
since: 4.0
Declaration
void
delete_from_cursor (
GtkText* self,
GtkDeleteType* type,
gint count,
gpointer user_data
)
Description [src]
Emitted when the user initiates a text deletion.
This is a keybinding signal.
If the type is GtkDeleteType, 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.
| Default handler: The default handler is called after the handlers added via |
| Signal can be directly emitted on objects from user code |
| Available since: 4.0 |
Parameters
type-
Type:
GtkDeleteTypeThe granularity of the deletion.
The data is owned by the caller of the function. count-
Type:
gintThe number of
typeunits to delete.