Re: key press events
| From: | Andrei Zmievski | Date: | Fri, 10 Aug 2001 15:27:58 +0000 |
| Subject: | Re: key press events | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2738@lists.php.net to get a copy of this message | ||
On Fri, 10 Aug 2001, Daniel Adams wrote:
> Hey,
> Are the event keyvals in gdk/gdkkeysyms.h define()d in phpgtk? I'm
> trying to detect the delete key pressed on a gtkclist and I can see that
> the keyval for the delete key is 65535 but when I try to echo the value
> for GDK_Delete it just echoes "GDK_Delete". Are these not defined yet? Do
> I have to hardcode or define() the value myself?
They should be working in the latest CVS, except they will all be
prefixed with GDK_KEY_* due to some Zend engine limitations. So, the
delete key is actually GDK_KEY_Delete.
-Andrei
* Proximity bug: when the program crashes in front of important visitors. *