Next Prev Up Top Contents Index

set-selection

Function
Summary

Sets the primary selection.

Signature

set-selection self string => result

Arguments

self

A displayed CAPI pane or interface.

string

A string.

Values

result

A string, or nil .

Description

The function set-selection sets the primary selection to be the text of string .

On Windows there is no notion of selection, so this mechanism is internal to Lisp.

Note that X applications may or may not use the primary selection for their paste operations. The most likely explanation for apparent inconsistencies after set-selection is that the pasting application doesn't use the primary selection. For instance, Emacs is configurable by the variable interprogram-paste-function.

See also

selection
set-clipboard


LispWorks CAPI Reference Manual - 13 Mar 2003

Next Prev Up Top Contents Index