Re: Drag and drop mysteries



>at 1) How is one supposed to know this stuff with the "STRING" and 
>"text/plain"?
>It's nowhere documented, it only appears in the examples without further 
>explanation,
>so it looked completely random to me.
>What other "types" are there for drag and drop targets?

the "text/plain" entry is a conventional MIME type. google for MIME.
the "STRING" entry is a hangover from historic X D-n-D, which was
developed before MIME (or at around the same time). google for 
"X atom string drag drop".

STRING is important for back-compatibility with many older
programs. Newer DnD handling is all MIME based, just like your email.

--p



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]