Re: NSPopupButton menu and bindings
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