[Vm-dev] changes to Cross headers files
tak at metatoys.org
Tue Apr 22 05:06:18 UTC 2008
On Mon, Apr 21, 2008 at 5:20 PM, John M McIntosh
<johnmci at smalltalkconsulting.com> wrote:
> On Apr 21, 2008, at 3:41 PM, Takashi Yamamiya wrote:
> > 1) 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.
> > 2) 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
> So are these then cross platform, or very specific to the operating system?
Types are just mime type strings. In unix (XDnD), many applications
use mime types in
drag and drop by chance. I guess mime types can be used in other platforms, too.
> image/png seems rather mimetype generic where as image/png555 would not be
> and I assume your "img/png" was a typo?
Ah, yes. It was a typo.
More information about the Vm-dev