XlCutBuffers.mesa
Copyright Ó 1991 by Xerox Corporation. All rights reserved.
Created by Christian Jacobi, March 21, 1991 9:50:03 am PST
Christian Jacobi, March 21, 1991 10:42 am PST
DIRECTORY Xl;
XlCutBuffers: CEDAR DEFINITIONS
~ BEGIN OPEN Xl;
There are (1991) at least three different ICCCM standardized text interchange conventions in use.
This interface allows access to these cut and paste mechanisms without specifying exactly which one shall be used.
If convention#NIL, the named convention will be used, if it is implemented. The restrictions of this convention shall be followed. If named convention is not implemented, any onewill be used. This basicly limits handled data to ASCII text, unless the programmer is very certain that the used convention is really implemented
If convention=NIL, the implementation will try to use the best one. data ought to be ASCII text.
Get: PROC [c: Connection, convention: ATOM ¬ NIL] RETURNS [ROPE];
Get contents from cut buffer. Convention describes which cut buffer to use.
Put: PROC [c: Connection, data: ROPE, convention: ATOM ¬ NIL];
Pushes data into cut buffer. Convention describes which cut buffer to use.
END.