Re: How to get buttonType from NSButton
Re: How to get buttonType from NSButton
- Subject: Re: How to get buttonType from NSButton
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 16 May 2006 09:48:07 -0700
On May 16, 2006, at 2:34 AM, RameshPVK wrote:
How to get the button type from NSButton. Example , I have created
a button of type NSSwitchButton. What is the method to inspect the
type on that button.
There isn't a way. 'setButtonType:' is a write-only value. The
button type is set by configuring more than one attribute; you can
only try to infer what type a button is by asking for the values of
each of those attributes. Why do you need to know what type a
button is?
mmalc
_______________________________________________
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