EventBox and mouse event

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

 



Hey,

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?

the code is available here: https://github.com/dufoli/banshee/tree/master/src/Extensions/Banshee.NowPlaying
custom widget is XOverlayVideoDisplay.cs.

kind regards,

Olivier Dufour
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux