• 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: Pull-down menu weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Pull-down menu weirdness (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: Pull-down menu weirdness
  • Next by Date: [ANN]: Accessorizer V 1.1 release
  • Previous by thread: Re: Pull-down menu weirdness
  • Next by thread: WebView can't change background color?
  • Index(es):
    • Date
    • Thread