• 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: NSPopupButton menu and bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopupButton menu and bindings


  • Subject: Re: NSPopupButton menu and bindings
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 21 Jul 2006 19:32:25 -0700
  • Thread-topic: NSPopupButton menu and bindings

On Fri, 21 Jul 2006 20:05:27 -0500, Ashley Clark <email@hidden> said:
>I have a dictionary of objects and an array of keys that I want to
>place in an NSPopupButton's menu.
>
>I have created countOfMenuItems and objectInMenuItemsAtIndex: methods
>to return the objects in the dictionary based on my array of keys and
>this works.
>
>What I'd like to do is be able to say that when the key is an empty
>string (@"") to have the menu draw a separator. Is this possible with
>bindings?

I have never seen convincing instructions for causing a bound
NSPopupButton's menu to display a separatorItem. This might make a good
feature request. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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: Re: Writing application without Interface Builder
  • Next by Date: Re: Writing application without Interface Builder
  • Previous by thread: NSPopupButton menu and bindings
  • Next by thread: Problems with NSSpeechSynthesizer and Foundation tool?
  • Index(es):
    • Date
    • Thread