Re: NSMenu setMenuBarVisible
Re: NSMenu setMenuBarVisible
- Subject: Re: NSMenu setMenuBarVisible
- From: Jim Correia <email@hidden>
- Date: Tue, 22 Oct 2002 17:28:26 -0400
On Tuesday, October 22, 2002, at 05:19 PM, Sherm Pendley wrote:
On Tuesday, October 22, 2002, at 04:57 PM, Howard Dittmer wrote:
there is a method setMenuBarVisible that is part of NSMenu. However I
am having difficulty finding a way to get ahold of an object that I
can apply this to. Suggestions?
[[NSApplication sharedApplication] mainMenu];
It is a class method. Send it to the class, not an instance.
[NSMenu setMenuBarVisible]
Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.