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

Laurent Sansonetti lsansonetti at apple.com
Tue Jul 20 11:45:59 PDT 2010


Hi,

On Jul 20, 2010, at 2:33 AM, niedhui wrote:

> Hi:
> 
> NSEvent.addGlobalMonitorForEventsMatchingMask(NSKeyDownMask,handler:  )
> 
> the handler: is a block param, can i use this in macruby ? if yes ,how?

No, C-level blocks aren't supported yet, sorry.

Laurent


More information about the MacRuby-devel mailing list