Macintosh VM (requests -- clipboard)
Marcel Weiher
marcel at metaobject.com
Tue Feb 6 10:05:02 UTC 2001
> From: Bert Freudenberg <bert at isg.cs.uni-magdeburg.de>
> Do Mac apps really provide all possible formats just in case? In Unix,
> when a copy is issued, the available formats are advertised. The
pasting
> app decides which representation it wants, and the copying app
generates
> it on-the-fly. Note that there is no "clipboard" involved, the apps
> communicate in peer-to-peer style.
On MacOS-X, it can go either way. The posting app advertises a list
of possible formats (I think there's also preferences), and *can*
also provide the data. If it doesn't provide the data, it will get
called back when there's a paste. With Cocoa, you just provide a
data-provider object to the pasteboard, I don't know how that works
in Carbon.
Marcel
More information about the Squeak-dev
mailing list
|