[9028] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] How to get keyboard input

daemon@ATHENA.MIT.EDU (Ray Crampton)
Sat Oct 3 08:54:46 1998

To: gtk-list@redhat.com
From: Ray Crampton <RayCrampton@worldnet.att.net>
Date: 03 Oct 1998 08:50:32 -0500
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

I have a non-editable text box in which I want to echo keystrokes and
then send the keystrokes for processing elsewhere as well.

How do I retrieve keystrokes as they come in?

I see key_press_event, and I've made a callback based on it which gets 
called each time a key is pressed, but I can't figure out how to get
the value of the key.

Thanks for any help,

Ray

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post