Re: Keypad issues

From: Date: Wed, 05 Apr 2006 22:08:46 +0000
Subject: Re: Keypad issues
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6830@lists.php.net to get a copy of this message
They work fine here... <?php function print_key($widget, $event) { echo $event->keyval."\t"; echo $event->string."\n"; } $window = new GtkWindow(); $window->connect_simple('destroy', array('gtk', 'main_quit')); $button = new GtkButton('Test'); $button->connect('key_press_event', 'print_key'); $window->add($button); $window->show_all(); Gtk::main(); ?> =================== C:\php5>php minitest.php 65505
42      *
92      \
47      /
(You're right, it's time I updated that binary). The only thing I can think of off-hand is if those keys are set up differently on US keyboards. Shift+3 should give me £ (a UK pound symbol) on my laptop, but I actually get: 65506
163     ú
- is that the kind of 'not working' you mean? - Steph
Just checking this out before I dig deeper. The keypad '/' and '*' don't work in Windows. I've found posts on this list about it, but no solution. Has anybody ever found one? thanks Madeleine D. -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com


« previous php.gtk.general (#6830) next »