>     I have seen the stuff in qx.event.handler, but can't seem to find a
>     way of achieving the same comparison without hard coding the String
>     "Enter".  Does anyone know how to do this properly?
> 
> 
> I believe you're doing it the 0.8/1.0 way. See the documentation for
> getKeyIdentifier() here:
>   
> http://demo.qooxdoo.org/1.0.x/apiviewer/#qx.event.type.KeySequence~getKeyIdentifier
> 
> and expand the getKeyIdentifier documentation. It shows that the
> non-printables are represented by a string, one of which is "Enter".

There you may also find that it has to do with the W3C event spec, which
might easy your discomfort about hard-coded string literals ;).

T.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to