Re: mouse and keyboard questions
- From: Havoc Pennington <hp redhat com>
- To: joch <joch ttelaviv sgi com>
- Cc: gnome-devel-list <gnome-devel-list gnome org>, gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: mouse and keyboard questions
- Date: 03 Nov 2000 18:26:39 -0500
joch <joch ttelaviv sgi com> writes:
> 1. how can i move the mouse from inside my application (e.g. tell the
> mouse to go to a specific point in my window )?
>
Include gdk/gdkx.h and use XWarpPointer() (see the man page for it).
Not supported by the portability layer, so you have to
platform-specific.
> 2. how can i grab the keyboard events and handle them without letting
> the window manager see them ?
>
Don't run a window manager, is the only solution I know, if you want
all events.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]