Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.TextBuffer

Method GTK2.TextBuffer()->delete_selection()


Method delete_selection

int delete_selection(int interactive, int default_editable)

Description

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 can't delete uneditable text).