[wx-dev] cut/paste files list under wxGTK

Robert Roebling robert at roebling.de
Wed Nov 1 09:54:10 PST 2006


> > I'm currently trying to make wxFileDataObject work a bit better under 
> > wxGTK(2): it seems that Gnome uses the type "x-special/gnome-copied-files" 
> > whereas wx only supports "text/uri-list".
> > I saw that a similar problems happened with wxTextDataObject (i.e. it is 
> > expected to be simple data object but is not in fact).
> > 
> > is there already some work in this direction? 
> 
> No.

Actually, I just dragged a file onto the test widget in 
the "dnd" sample and it does work, so if GNOME and
therefore GTK has switched to "x-special/gnome-copied-files",
then we'd have to know which version of GTK+ would be
affected. Additionally, we can now also check if KDE
is running and they might be using something else again.

Or do you mean clipboard pasting of files? I wonder
where that is used outside of file managers, but
having work wouldn't hurt.

  Robert






More information about the wx-dev mailing list