Pressing a button while enter/space is pressed
- From: Federico Mena Quintero <federico ximian com>
- To: gtk-devel-list gnome org
- Subject: Pressing a button while enter/space is pressed
- Date: Tue, 15 May 2001 23:07:13 -0500
I wanted to hack GtkButton so that it would show itself as pressed
while the spacebar or Enter is being held down (and you could cancel
the press with Escape).
However, I have no clue of how to do that because if you hold down
those keys, you'll get a multitude of KeyPress and KeyRelease events.
How do I tell X to give me a single KeyRelease when the key is
actually released?
[RTFM is a valid answer if you give me the relevant section of the FM :) ]
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]