Re: How to capture mouse movements independend of a Window?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Dec 29, 2006 at 09:01:57AM +0100, Andreas Stricker wrote:
I try to do something that is similar to some 3D projection plan
window rotating/shifting function: When a key is pressed, the relative
mouse movement should be recorded.

I'm primary interested if somebody solved a similar problem or got
an idea how to solve this.

If you think it's impossible, you can just say so...

I think gdk_pointer_grab() is your friend here. I'll try to cook up an
example (but don't hold your breath :-)

Regards
- -- tomÃs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFlO1MBcgs9XrR2kYRAlgHAJ4zUhg19LRi5ONbWe7OwbxdyWiI6wCeLcYa
xXSUFHuVao/zRFaKFNMzqGs=
=rDe4
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]