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