Clipboard.get

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

Parameters

selection gdk.atom.Atom

a #GdkAtom which identifies the clipboard to use

Return Value

Type: gtk.clipboard.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.