Package: gtk

Function gtk-text-buffer-delete-selection

Lambda List

gtk-text-buffer-delete-selection (buffer &key interactive editable)

Arguments

buffer -- a gtk-text-buffer object
interactive -- a boolean whether the deletion is caused by user interaction
editable -- a boolean whether the text buffer is editable by default

Return Value

A boolean whether there was a non-empty selection to delete.

Details

Deletes the range between the "insert" and "selection_bound" marks, that is, the currently selected text. If the interactive argument is true, the editability of the selection will be considered, users cannot delete uneditable text.
 

See also

2020-11-16