Re: [PHP-GTK] key press events

[email protected] (Andrei Zmievski) Fri, 10 Aug 2001 10:27:58 -0500
Newsgroups php.gtk
Message-ID <[email protected]>
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. *