Skip to content
yihui edited this page Jul 15, 2011 · 7 revisions

A simpler function to match keys

The function match_key() was designed to save some typing efforts like event$key() == Qt$Qt$Key_PageDown; we can use match_key('PageDown') inside an event callback function to do the same thing. See ?match_key or the source code of qparallel() for examples.

Clone this wiki locally