TextBuffer.addSelectionClipboard

Adds @clipboard to the list of clipboards in which the selection contents of @buffer are available.

In most cases, @clipboard will be the GdkClipboard returned by [method@Gtk.Widget.get_primary_clipboard] for a view of @buffer.

class TextBuffer
void
addSelectionClipboard

Parameters

clipboard Clipboard

a GdkClipboard

Meta