[MacRuby-devel] Focus window from second XIB

Robert Payne robertpayne at me.com
Tue Mar 1 11:20:34 PST 2011


Hi Sven,

Actually it's 

preferences.window.center()
preferences.window.makeKeyAndOrderFront(self)

Sorry!

-Robert

On Mar 2, 2011, at 8:19 AM, Sven Schwyn wrote:

> Hi Franco
> 
> Thanks for the quick reply. However, I get this if I try your hint:
> 
> undefined method `center' for #<PreferencesController...
> 
> I seem to be missing something else, too.
> 
> Cheers, -sven
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list