Google SketchUp's WebDialog class allows Ruby plugins to generate, launch, and support interactive dialogs, using HTML and JavaScript. Basically, the plugin:
* sets up some callback code * generates some HTML (etc) code * points SketchUp at the HTML SketchUp then puts up a window whose layout is specified by the HTML (etc) code. User actions may be handled by JavaScript and/or callbacks to the Ruby plugin. Although there are some awkward aspects to this approach, I like the ability to generate dynamic content, use CSS and jQuery, etc. It looks like WebKit could provide similar capabilities, using MacRuby as the "back end". I'm curious whether anyone has been playing with this approach, possibly using HotCocoa magic to tidy things up. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume r...@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Software system design, development, and documentation _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel