[Java-gnome-developer] Problem with Widget.setEvents(...) and Widget.MotionNotifyEvent()
Brought to you by:
afcowie
From: Max G. <max...@ep...> - 2010-09-11 03:01:02
|
Hi, I have already described my problem on your IRC, but nodody was able to solve it without concrete code. Since my program is somewhat big, I have written a small program that has the same problem; it is attached to this mail (don't worry, it's small). What I'm trying to do: I have an image viewing application like Eye of Gnome. Like in Eye of Gnome, MPlayer, VLC etc. a controller widget is being displayed while you move the mouse in fullscreen mode. If you haven't moved the mouse for a few seconds, the controller widget disappears and you see the image/movie only. While in fullscreen I need those MotionNotifyEvents. While not in fullscreen I have no use for them. Obviously my program works even when I receive tons of MotionNotifyEvents while I don't need them. So it's not a real priority. However it is bugging me since the documentation (http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/Widget.MotionNotifyEvent.html) explicitly says that you ought disable this event once you don't need it anymore. This description, how to reproduce, the exact error message and my java-gnome version (the newest) can be found in the attachment. Thanks for your time and help, Max |