TextBuffer.addSelectionClipboard

void addSelectionClipboard(gdk.clipboard.Clipboard clipboard)

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

In most cases, clipboard will be the [gdk.clipboard.Clipboard] returned by [gtk.widget.Widget.getPrimaryClipboard] for a view of buffer.

Parameters

clipboarda [gdk.clipboard.Clipboard]