Hey Michael,

You might also want to consider NSView's enterFullScreenMode:withOptions: [1] It's available from 10.5 and higher only, but with MacRuby that should not be a problem.

Cheers,
Eloy

[1] 
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/doc/uid/20000014-SW5

On 7 jul 2010, at 01:48, Michael Jackson wrote:

Hi all,

I created a fullscreen sample app in MacRuby, and I thought someone
else might be able to get some use out of it.

http://mjijackson.com/2010/07/fullscreen-macruby
http://github.com/mjijackson/Fullscreen

It's basically a port of someone else's Objective-C code, but it uses
NSApp's presentation options to control automatic hiding/showing of
the menu bar and dock instead of doing it manually. If anyone has any
feedback for me, I'd love to hear it.

Enjoy,

Michael

--
Michael Jackson
http://mjijackson.com
@mjijackson
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to