copy-clipboard ( string gadget clipboard -- )
Factor handbook » UI framework » Implementing new gadgets » Clipboard protocol

Prev:paste-clipboard ( gadget clipboard -- )
Next:clipboard-contents ( clipboard -- string )


Vocabulary
ui.clipboards

Inputs
stringa string
gadgeta gadget
clipboardan object


Outputs
None

Generic word contract
Arranges for the string to be copied to the clipboard on behalf of the gadget. The gadget must be grafted.

Definition

GENERIC: copy-clipboard ( string gadget clipboard -- )


Methods