I was thinking syntax like:

    open_panel = NSOpenPanel.openPanel
    open_panel.beginSheetModalForWindow(@main_window,
      completionHandler:lambda{|arg| "Yo, open file and user arg is #{arg}")

would be pretty sensible. But it seems not to be. Any hints?
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to