Drag&Drop from Windows Explorer: Motion events etc.



Hi!

I would like to know if there is a way to get events when someone drags
files from the Windows File Explorer to my GTK App. I'm able to receive
the data-received event but this is sent when the drag&drop is finished.
I'd like to be able to know about the dragging as soon as the object is
dragged over my window. And I'd like to know the position of the mouse
and the state of shift/alt-keys and modify the mousecursor depending on
these.

The only examples that I found are about dragging from within the same
gtk application, but no example of how this could work if the source is
outside my application.

Maybe someone can help me with this?

Thanks a lot!
Christian





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