Package: gdk

Class gdk:clipboard

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

content
The content property of type gdk:content-provider (Read)
The content provider or nil if the clipboard is empty or contents are provided otherwise.
display
The display property of type gdk:display (Read / Write / Construct only)
The display that the clipboard belongs to.
formats
The formats property of type gdk:content-formats (Read)
The possible formats that the clipboard can provide its data in.
local
The local property of type :boolean (Read)
True if the contents of the clipboard are owned by this process.
Default value: true

Details

The gdk:clipboard object represents data shared between applications or inside an application.

To get a gdk:clipboard object, use the gdk:display-clipboard or gdk:display-primary-clipboard functions. You can find out about the data that is currently available in a clipboard using the gdk:clipboard-formats function.

To make text or image data available in a clipboard, use the gdk:clipboard-set-text or gdk:clipboard-set-texture functions. For other data, you can use the gdk:clipboard-set-content function, which takes a gdk:content-provider object.

To read textual or image data from a clipboard, use the gdk:clipboard-read-text-async or gdk:clipboard-read-texture-async functions.

Signal Details

The "changed" signal
lambda (clipboard)    :run-last      
clipboard
The gdk:clipboard object on which the signal was emitted.
The signal is emitted when the clipboard changes ownership.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2023-7-30