RE: Key presses



Using gdk_input_add to listen to key presses.

For example
//Monitoring I/O: keyboard
 
gdk_input_add(fd_kb,GDK_INPUT_READ,GTK_SIGNAL_FUNC(keyboard_input),text_entr
y[5]);

Bach Ngo
Design Engineer
Lester Electrical
Email: bachn lesterelectrical com
Phone: (402) 441-3720 ext. 274



-----Original Message-----
From: Andrei Zmievski [mailto:andrei ispi net]
Sent: Tuesday, July 31, 2001 9:11 AM
To: gtk-list gnome org
Subject: Key presses


How do I set up my app to capture any possible key presses?

-Andrei

"Music expresses that which can not be said
 and on which it is impossible to be silent."
                         -Victor Hugo

_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list




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