Package: gtk

Function gtk-text-buffer-delete-selection

Lambda List

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


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

Return Value

Whether there was a non-empty selection to delete.


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