Re: keyboard signals
- From: Yann Normand <ynormand mail transiciel com>
- To: y g <odysseus lost gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: keyboard signals
- Date: Thu, 16 Jun 2005 11:15:51 +0200
y g a écrit :
Hello,
I want to have keys of keyboard mapped to certain things. To make it
clear what I am exactry trying to do is while you keep a key pressed
down then you move forward and you stop when it is released.
Accelerators won't do.... Can someone give me some directions?
Cheers.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Connect a callback to the key_press_event signal . Then consult the
GdkEventKey* event parameter to know which key was typed.
You may be also interested in key_release_event signal .
--
Yann Normand
Sogeti-Transiciel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]