On Apr 21, 2008, at 3:41 PM, Takashi Yamamiya wrote:
- For example, if you are about to drag a morph,
#primitiveDndOutStart: is called with types like "image/png\0image/gif\0image/bmp". And VM starts drag out session.
- If some application accepts it, DragRequest event is send to the
image. The image knows accepted type e.g. "img/png" through #primitiveDndOutAcceptedType then send actual png data with #primitiveDndOutSend:.
Ok I assume these are just mime type strings we supply or get from the VM api? So are these then cross platform, or very specific to the operating system?
image/png seems rather mimetype generic where as image/png555 would not be friendly... and I assume your "img/png" was a typo?
-- = = = ======================================================================== John M. McIntosh johnmci@smalltalkconsulting.com Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ========================================================================