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: Tue, 21 Dec 2010 09:52:24 +0100
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
On Mon, Dec 20, 2010 at 4:03 PM, Alex Launi
<alex launi gmail com> wrote:
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]