Re: Separators in NSMenu via bindings
Re: Separators in NSMenu via bindings
- Subject: Re: Separators in NSMenu via bindings
- From: Scott Thompson <email@hidden>
- Date: Wed, 31 May 2006 13:28:46 -0500
On May 26, 2006, at 4:59 PM, Josef W. Wankerl wrote:
Hello,
I have the menu items of a NSPopUpButton populated from a binding to a
NSArrayController. It works fine. However, some of these items I
want to have as separators. I didn't see any examples of how to do
this... any ideas?
I would expect that you can just insert instances returned from:
+ (id <NSMenuItem>)separatorItem;
in the NSMenuItem class. (i.e. [NSMenuItem separatorItem])
as part of the array controller.
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden