Sets how the receiver highlights while pressed and how it shows its state.
Original signature is '- (void)setButtonType:(NSButtonType)aType'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void SetButtonType( NSButtonType aType )
Public Overridable Sub SetButtonType ( _ aType As NSButtonType _ )
public: virtual void SetButtonType( NSButtonType aType )
Parameters
- aType (NSButtonType)
- A constant specifying the type of button. This can be one of the constants defined in “Button Types.”
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)