• 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
NSPopupButton with bindings and separators not possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopupButton with bindings and separators not possible?


  • Subject: NSPopupButton with bindings and separators not possible?
  • From: zeno <email@hidden>
  • Date: Wed, 11 Jan 2006 19:40:35 +0100

I have a popup button whose content is set up via an array controller
(I bound 'content' and 'contentValues').

Can anyone answer (at least with a simple 'yes' or 'no') the following question:

is it possible to add a separator ([NSMenuItem separatorItem]) to that
popupbutton (at a specified index)?

Two guys have already posted this question here without getting any
answers. Someone on cocoadev hinted that it should be possible using
indexed accessors (as explained in mmalc's Binding Examples page), but
I don't see how it could be possible since contentValues still expects
a string (it won't accept the separator's NSMenuItem)

I'm desperate.
 _______________________________________________
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

  • Prev by Date: Re: Opening a document in the same window
  • Next by Date: Why are small message being treated as large messages?
  • Previous by thread: Re: Opening a document in the same window
  • Next by thread: Why are small message being treated as large messages?
  • Index(es):
    • Date
    • Thread