Re: motion-notify-event doesn't work in linux?
| From: | kksou | Date: | Thu, 01 Feb 2007 05:57:41 +0000 |
| Subject: | Re: motion-notify-event doesn't work in linux? | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7635@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
>
> Did you check Gtk+ mailing lists archives to see if this has been
> brought up before? I highly doubt this is PHP-GTK's fault.
>
> -Andrei
>
Hi Andrei,
Yes, you're right!
Digged through the gtk+ mailing list. The same problem has been brought up
way back in 2002! It still existed in 2006. Not sure if this has been fixed
yet.
Managed to get GtkEventBox working for motion-notify-event, though. Found
out that in windows, there's no need to add "Gdk::POINTER_MOTION_MASK". In
linux, this has to be added.
So it seems that the only widget that does not emit the motion-notify-event
signal is GtkTextView.
What puzzles me is that: why does it work on windows, then? Doesn't
php-gtk's port to windows uses gtk+ too and not native win32 libraries? I
always thought the linux version of php-gtk is always more complete...
Regards,
/kksou
--
View this message in context: http://www.nabble.com/motion-notify-event-doesn%27t-work-in-linux--tf3147437.html#a8743474
Sent from the Php - GTK - General mailing list archive at Nabble.com.