• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Separators in NSMenu via bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Separators in NSMenu via bindings (From: "Josef W. Wankerl" <email@hidden>)

  • Prev by Date: Re: Many-to-many coredata fetch request (Probably Solved)
  • Next by Date: [OBJC newbie] - Intance variable becomes 'invalid'
  • Previous by thread: Separators in NSMenu via bindings
  • Next by thread: MyDocument and AppController problem
  • Index(es):
    • Date
    • Thread