[MacRuby-devel] How to use NSEvent.addGlobalMonitorForEventsMatchingMask ?

niedhui niedhui at gmail.com
Tue Jul 20 02:33:34 PDT 2010


Hi:

NSEvent.addGlobalMonitorForEventsMatchingMask(NSKeyDownMask,handler:  )

the handler: is a block param, can i use this in macruby ? if yes ,how?

Thanks


More information about the MacRuby-devel mailing list