Instance Property

bezelStyle

The appearance of the button’s border, if it has one.

Declaration

@property NSBezelStyle bezelStyle;

Discussion

The value of this property is a constant that specifies the bezel style used by the button. See NSBezelStyle for a list of possible values. If a button is borderless, the value of this property is ignored.

A button uses shading to look like it’s sticking out or pushed in. You can set the shading with the gradientType property.

See Also

Managing Graphics Attributes

backgroundColor

The background color of the button.

gradientType

The gradient of the button’s border.

Deprecated
imageDimsWhenDisabled

A Boolean value that indicates if the button’s image and text appear “dim” when the button is disabled.

opaque

A Boolean value that indicates if the button is opaque.

transparent

A Boolean value that indicates if the button is transparent.

showsBorderOnlyWhileMouseInside

A Boolean value that indicates if the button displays its border only when the pointer is over it.