Re: buttonType in NSButton
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.