All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

clipboard-empty Function

Summary

Determines whether the system clipboard contains an object of the specified kind.

Package

capi

Signature

clipboard-empty self &optional format => result, owner

Arguments
self
A displayed CAPI pane or interface.
format
A keyword.
Values
result
t or nil.
owner
One of :lisp, t or nil.
Description

The function clipboard-empty returns nil if there is an object of the kind indicated by format on the clipboard associated with self, or t otherwise.

The second return value owner is :lisp when the clipboard is owned by LispWorks, t when it is owned by some other application and nil when it is empty.

format controls what kind of object is checked. The allowed values of format are as described for clipboard.

See also

clipboard
image
18.6 Clipboard


CAPI User Guide and Reference Manual (Macintosh version) - 18 Feb 2025 15:33:09