On Apr 3, 2009, at 4:25 AM, Frisco Del Rosario wrote:
Brad Wilson:
> This is untested, but  I'd suggest trying:
> def webView(sender, didReceiveTitle:title, forFrame:frame)
>    sender.window.setTitle(title)
> end

FYI, you can also write

  sender.window.title = title

As for the method not being triggered, I would also suspect a connection problem in IB.

The following tutorial illustrates how to set up connections from IB and a MacRuby project, and might perhaps help you.

  
http://developer.apple.com/mac/articles/scriptingautomation/cocoaappswithmacruby.html

HTH,
Laurent
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to