Re: Drag from a KDE window and drop to GTK one



Colossus wrote:
Hi,

I'm coding drag and drop feature to my app, Xarchiver, I was wondering if the drag from a Konqueror (KDE) window and drop to the GTK window of my app will work. Is there some GTK additional call to perform to have the above work ?

Thanks,

Thanks to Benedikt of XFCE who gave the solution. I report it for future reference:

It is just a matter of adding these flags:
GDK_ACTION_MOVE | GDK_ACTION_LINK | GDK_ACTION_ASK in the gtk_drag_dest_set function.
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net



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