Re: pointer grabs and drawing areas
- From: Sven Neumann <sven gimp org>
- To: Paul Davis <pbd op net>
- Cc: gtk-list gnome org
- Subject: Re: pointer grabs and drawing areas
- Date: 22 May 2002 13:17:23 +0200
Hi,
Paul Davis <pbd op net> writes:
> i have a drawing area set up to receive both button press+release
> events. my understanding is that X/GDK automatically does a pointer
> grab when a GdkWindow has these events set for itself. i also receive
> motion events, via motion hints.
X11 does an implicit grab.
> if i press and then move the pointer outside the drawing area, i
> continue to get motion events. however, this is only true if i don't
> move the pointer into the canvas that is packed above the drawing area
> in a table.
>
> how could this be? can the canvas grab the pointer away somehow?
I think it can do if it does an explicit grab.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]