about enabling DnD on Eventbox




Hello all,

Actually, I have an icon constructed with an image and a label, each packed inside two separate Eventbox.

I was writing code for capturing DnD signals on the eventboxes but it was not working. I tried altering the GDK event mask to GDK_ALL_EVENTS_MASK but in vain.
Then I set the eventbox below the child by gtk_event_box_set_above_child(). Now, the image and the label is accepting the DnD event signals but the new problem is, the "button_press_event" on the eventboxes are not working which is crucial to my application.

In this situation, the only solution is to enable DnD capabilities on the GtkEventboxes.

I've already searched for the solution at internet but in vain.


Am I missing  a point here?
I'll be obliged to have any pointer towards it.




--
Regards,

Debmalya Sinha

Research Scientist,
MS(R) student,
Computer Science and Engineering
IIT Kharagpur


Fedora Ambassador
Chandannagar
India.

sunnywizard.googlepages.com


GPG Key : 6E2BD51B
Keyserver : http://pgp.mit.edu


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