• 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: buttonType in NSButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buttonType in NSButton


  • Subject: Re: buttonType in NSButton
  • From: matt neuburg <email@hidden>
  • Date: Wed, 11 Dec 2002 11:45:40 -0800

On Wed, 11 Dec 2002 00:26:21 +0000, "Adam Lindsay" <email@hidden> said:

>These different varieties of button are enumerated by NSButtonType within
>AppKit/NSButtonCell.h. There is a method to *set* the buttonType, but
>there is no supported method to inspect the buttonType. I want to inspect
>it, and that's where I'm stumped.

I think the reason is that a button type is merely a concatention of other features. In other words, you can set a button type because Cocoa then responds by setting the other multiple features that correspond to the HIG standard for that type. But nothing stops you from setting those features yourself in a way that corresponds to no standard type, so it would be meaningless to speak of a "type" in that case. To learn how the button looks and behaves, ask about those other features. m.

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: mouseMoved and first responder madness
  • Next by Date: NSTableView or NSArray Troubles...
  • Previous by thread: RE: buttonType in NSButton
  • Next by thread: Re: buttonType in NSButton
  • Index(es):
    • Date
    • Thread