Re: missing mouse motion and release events
- From: "Norman Black" <stonybrk ix netcom com>
- To: "gtk-list" <gtk-list gnome org>, "Deborah Swayne" <dfs research att com>
- Subject: Re: missing mouse motion and release events
- Date: Mon, 30 Apr 2001 14:49:47 -0700
Check out gdk_pointer_grab
Best Regards,
Norman Black
Stony Brook Software
----- Original Message -----
From: "Deborah Swayne" <dfs research att com>
To: <gtk-list gnome org>
Sent: Monday, April 30, 2001 02:33 PM
Subject: missing mouse motion and release events
> I'm having a problem with mouse motion events: I press the mouse,
> set a flag, and then I want to respond to mouse motion as long as the
> button is down. However, if I move the mouse outside the drawing
> area, I can no longer get the mouse motion events. And if I release
> the button, I don't get the button up event.
>
> Is there some other way to get this event? [Assume the mouse is
> released outside any of my program's windows.] This is very
> different than the behavior of other X-based toolkits, no? It makes
> my software feel unpleasantly buggy.
>
> I see in Havoc's book that this is the documented behavior, but is
> there no workaround?
>
> I suppose I can do a lot of monkeying around with enter and leave
> events, but it seems so unnecessary.
>
> Debby
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]