Clipboard.get

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

class Clipboard
static
get

Parameters

selection GdkAtom

a gdk.Atom which identifies the clipboard to use

Return Value

Type: Clipboard

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.