Re: GTK and KDE compatibility



Colossus wrote:
I connected the signal "drag_data_received" to the window of my app. However when dragging not from a GTK window ( kde konqueror for example ) my app doesn't receive the signal. Is GTK compatible with
event generated from other GUIs such as QT upon which KDE is based ?

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]