get-data in clipboard-client%
Called when a process requests clipboard data while this client is the
current one for the clipboard. The requested format is passed to the
method, and the result should be a string matching the requested
format, or #f if the request cannot be fulfilled.
Only data format names in the client's list will be passed to this
method; see
add-type.
When this method is called by the clipboard, the current eventspace is the same as the client's eventspace. If, at the point of the clipboard request, the current eventspace is not the client's eventspace, then current thread is guaranteed to be the handler thread of the client's eventspace.
( -> string or send a-clipboard-client get-data format)#f
format : string
The format string is typically four capital letters. (Under
Mac OS, only four characters for format are ever used.) For
example, "TEXT" is the name of the simple text format. New
format names can be used to communicate application- and
platform-specific data formats.