FROM : Matt Neuburg
DATE : Mon Jul 17 21:32:38 2006
On or about 7/17/06 12:18 PM, thus spake "Keith Blount"
<<email_removed>>:
> 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_removed>, 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/
DATE : Mon Jul 17 21:32:38 2006
On or about 7/17/06 12:18 PM, thus spake "Keith Blount"
<<email_removed>>:
> 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_removed>, 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/
| Related mails | Author | Date |
|---|---|---|
| Keith Blount | Jul 15, 11:24 | |
| Matt Neuburg | Jul 16, 18:22 | |
| Keith Blount | Jul 17, 19:46 | |
| Matt Neuburg | Jul 17, 20:24 | |
| Keith Blount | Jul 17, 21:18 | |
| Matt Neuburg | Jul 17, 21:32 |






Cocoa mail archive

