display <-selection: which=[name],
target=[name], type=[type] -> anyQuery the value of a system selection. which defaults to
primary; common alternatives are clipboard and secondary.
target is the requested MIME-like type (default text;
utf8_string for explicit UTF-8). For the clipboard, target
may also be image, returning an image from PNG, JPEG or
another image format on the clipboard, or svg, returning
the SVG document as a string. type is the xpce type the
returned value should be coerced to via type<-check.
It defaults to image for the target image and string
otherwise.
- See also
- - display
<-selection_targets
- display<-paste