Re: motion-notify-event problems
- From: "David Necas (Yeti)" <yeti physics muni cz>
- To: Gustavo Rahal <gustavo grahal net>
- Cc: gtk-list gnome org
- Subject: Re: motion-notify-event problems
- Date: Tue, 5 Apr 2005 18:02:21 +0200
On Tue, Apr 05, 2005 at 11:29:11AM -0300, Gustavo Rahal wrote:
> >
> >Did you call gtk_widget_add_events(window, GDK_POINTER_MOTION_MASK)?
>
> Thanks, that solved the problem!
> Why do I have to put this extra line?
Widgets (actually, X Windows) have to opt in for events they
want to receive. I suppose there would be lots of
unnecessary communication with X server if all received all
events.
Yeti
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]