Re: Pull-down menu weirdness
Re: Pull-down menu weirdness
- Subject: Re: Pull-down menu weirdness
- From: Matt Neuburg <email@hidden>
- Date: Mon, 17 Jul 2006 12:32:38 -0700
- Thread-topic: Pull-down menu weirdness
On or about 7/17/06 12:18 PM, thus spake "Keith Blount"
<email@hidden>:
> NSPopUpButton does not support the graying on/off
> state of an NSButton. When you click the "action"
> button in Mail.app, the button turns grey when the
> menu appears. There is no way to support this in a
> standard NSPopUpButton that I can see (you can see
> that the buttons used in the MenuMadness example
> appear quite dead and do not gray).
Ah! ... Yes, you're right, of course. Take a look at OAAction in OmniAppKit;
the whole thing is implemented for you. They don't even bother to use an
NSPopUpButton (it's a subclass of an ordinary NSButton). m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide - Second Edition!
http://www.amazon.com/gp/product/0596102119
Take Control of Word 2004, Tiger, and more -
http://www.takecontrolbooks.com/tiger-customizing.html
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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