#712: Feature Request: Add Support for C-Level Blocks -------------------------------+-------------------------------------------- Reporter: cwdi...@… | Owner: lsansone...@… Type: enhancement | Status: new Priority: blocker | Milestone: MacRuby 0.7 Component: MacRuby | Keywords: block -------------------------------+--------------------------------------------
Comment(by jazz...@…): my suggestion is: {{{ open_panel = NSOpenPanel.openPanel open_panel.beginSheetModalForWindowOnCompletion(@main_window) do |arg| puts "Hello, open file and user arg is #{arg}" end }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/712#comment:4> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel