EventBox and mouse event
- From: olivier dufour <olivier duff gmail com>
- To: gtk-list gnome org
- Subject: EventBox and mouse event
- Date: Thu, 23 Dec 2010 15:41:24 +0100
I am working on implement dvd support in banshee and I have an issue to get mouse pressed event.
To sum up, we have an eventbox which wrap a custom widget which contain the video.
The issue is that I never get mouse event on event box whereas I have set the event mask with ButtonPressMask and I have connect the signal. To be sure that a down system catch the event I set the attribut GLib.ConnectBefore.
The custom widget flags is set NoWindow. If I comment this line the event is fired but I loose other features.
So how get mouse event (motion, button pressed) on the widget with nowindow flag?
custom widget is XOverlayVideoDisplay.cs.
] [Thread Prev