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

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


Vocabulary
ui.clipboards

Inputs
gadgeta gadget
clipboardan object


Outputs
None

Generic word contract
Arranges for the contents of the clipboard to be inserted into the gadget at some point in the near future via a call to user-input. The gadget must be grafted.

Definition

GENERIC: paste-clipboard ( gadget clipboard -- )


Methods