LispWorks CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

selection-empty

Function
Summary

Determines whether there is a primary selection of a particular kind.

Package

capi

Signature

selection-empty self &optional format => result

Arguments

self

A displayed CAPI pane or interface.

format

A keyword.

Values

result

t or nil .

Description

The function selection-empty returns nil if there is a primary selection of the kind indicated by format , or t if there is no such selection.

format controls what kind of object is checked. The following values of format are recognized:

:string

The object is a string. This the default value.

:image

The object is of type image, converted from whatever format the platform supports.

:value

The object is the Lisp value.

See also

image
selection


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex