6 Sep
2010
6 Sep
'10
7:05 a.m.
On Sep 5, 2010, at 2:31 PM, Krzysztof KosiĆski wrote:
If I understand how the GTK code works, we could use "SVG Image" as the 'mimetype' passed to GTK and in absence of any special processing on the GTK side this would get used as the "clipboard tag".
That's probably close.
The key is that GTK itself does not require 'mimetype' but only 'target'. Whereas there is a *convention* to use mimetypes for clipboard data flavor names, it's not required. So it is perfectly GTK-friendly to use "SVG Image" as the data target type. For certain cases it might be nice if the GTK layer on Windows did a conversion to and from "SVG Image", the more complex use of parameters on the mime types would get lost.