Re: GDK key Code
| From: | Geoff A. Virgo | Date: | Thu, 03 May 2001 03:05:41 +0000 |
| Subject: | Re: GDK key Code | ||
| References: | 1 2 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1605@lists.php.net to get a copy of this message | ||
At 07:19 PM -0600 Wednesday, 5/2/01, Geoff A. Virgo wrote:
Thanx Andrei and Steph!!!!Ok, one more quick question regarding keystrokes. To catch a button_press_event you would use:Things can now continue progressing:)
if ($event->button == x)where x is the button you're interested in. What is the equivalent syntax for catching key_press_event?
At 01:25 AM +0100 Thursday, 5/3/01, Steph wrote:Cheers, Geoff A. Virgo http://www.mithril.ca/ ------------------------------------------------------------------------------------------------------------------------ Do not meddle in the affairs of programmers, for they are subtle and quick to anger. - paraphrase from The Lord of the RingsGeoff isn't the first to have hunted for gdkkeysyms.h in vain .... http://cvs.gnome.org/lxr/source/gtk%2b/gdk/gdkkeysyms.h for future reference ----- Original Message ----- From: "Geoff A. Virgo" <wig@mithril.ca> To: <php-gtk@lists.php.net> Sent: Wednesday, May 02, 2001 11:01 PM Subject: [PHP-GTK] GDK key Code Hey all, Anyone have a list of the GDK key codes handy? I don't have a copy of the <gdk/gdkkeysym.h> header file handy. Perhaps a link to a posted listing? Specifically I'm looking for the key code corresponding to the <Enter> key. Thanx!!!! Cheers, Geoff A. Virgo http://www.mithril.ca/ ------------------------------------------------------------------------------------------------------------------------ Do not meddle in the affairs of programmers, for they are subtle and quick to anger. - paraphrase from The Lord of the Rings -- PHP GTK Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net For additional commands, e-mail: php-gtk-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP GTK Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net For additional commands, e-mail: php-gtk-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netCheers, Geoff A. Virgo http://www.mithril.ca/ ------------------------------------------------------------------------------------------------------------------------ Do not meddle in the affairs of programmers, for they are subtle and quick to anger.- paraphrase from The Lord of the Rings-- PHP GTK Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net For additional commands, e-mail: php-gtk-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net