Gtk.TextBuffer.prototype.cut_clipboard
function cut_clipboard(clipboard:Gtk.Clipboard, default_editable:Boolean):void { // Gjs wrapper for gtk_text_buffer_cut_clipboard() }
Copies the currently-selected text to a clipboard, then deletes said text if it's editable.
- clipboard
the Gtk.Clipboard object to cut to
- default_editable
default editability of the buffer