Clipboard.get

Returns the clipboard object for the given selection. See [gtk.clipboard.Clipboard.getForDisplay] for complete details.

Parameters

selectiona #GdkAtom which identifies the clipboard to use

Returns

the appropriate clipboard object. If no clipboard

already exists, a new one will be created. Once a clipboard object has been created, it is persistent and, since it is owned by GTK+, must not be freed or unreffed.