Re: Insert Services and Windows menu programmatically
Re: Insert Services and Windows menu programmatically
- Subject: Re: Insert Services and Windows menu programmatically
- From: Dylan Adams <email@hidden>
- Date: Mon, 07 Jul 2003 12:32:41 -0500
Leos Stybnar wrote:
I need to insert special menus (Services, Windows, Fonts...) to my own
ones programmatically. I was not able to find a method to rewrite or
flag to set. Can you help me?
Services & Windows: The methods -setServicesMenu:(NSMenu *)menu and
-setWindowsMenu:(NSMenu *)menu respectively. Just create a new NSMenu,
add it somewhere in your menubar, and call the appropriate method.
Font: The method fontMenu: (BOOL)createFlag on NSFontManager.
dylan
_______________________________________________
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.