Clipboard.get

Returns the clipboard object for the given selection. See gtk_clipboard_get_for_display() for complete details.

class Clipboard
static
get

Parameters

selection GdkAtom

a #GdkAtom which identifies the clipboard to use

Return: 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.

Meta