Re: [Banshee-List] Gtk Event & DVD patch
- From: olivier dufour <olivier duff gmail com>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Gtk Event & DVD patch
- Date: Thu, 23 Dec 2010 13:45:17 +0100
OK, good news just gone further.
When I comment the line XOverlayVideoDisplay line 46
//WidgetFlags = WidgetFlags.NoWindow;
event is fired! but it is a bit buggy because window blink ans seems rebuild and fullscreen do not worked anymore.
Anyway, mouse event is not fired because of that. So, it is a good way to find the solution.
Olivier Dufour
On Tue, Dec 21, 2010 at 9:52 AM, olivier dufour
<olivier duff gmail com> wrote:
it change nothing for me...I never get mouse move or mouse button pressed event....
Have you tested your solution.
If yes, you must have change something else...
Olivier Dufour
I think we need to add the XOverlay inside of another EventBox. The events don't propagate down through the table, but if you change the code to
EventBox video_event = new EventBox ();
video_event.Add (video_display);
video_event.Events |= Gdk.EventMask.PointerMotionMask |
Gdk.EventMask.ButtonPressMask |
Gdk.EventMask.ButtonMotionMask |
Gdk.EventMask.KeyPressMask |
Gdk.EventMask.KeyReleaseMask;
video_event.MotionNotifyEvent += (o, a) => { Hyena.Log.Warning ("NOTION NOTIFY ON THE INSIDE EVENT BOX"); };
table.Attach (video_event, 0, 1, 0, 1,
AttachOptions.Expand | AttachOptions.Fill,
AttachOptions.Expand | AttachOptions.Fill, 0, 0);
and then you can receive the events inside the video display.
--
--Alex Launi
_______________________________________________
banshee-list mailing list
banshee-list gnome org
http://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]