Structure

NSCellStyleMask

Constants for specifying what happens when a button is pressed or is displaying its alternate state.

Overview

These contents are used by the highlightsBy and showsStateBy methods of NSButtonCell.

Symbols

Constants

static var pushInCellMask: NSCellStyleMask

The button cell “pushes in” if it has a border.

static var contentsCellMask: NSCellStyleMask

The button cell displays its alternate icon and/or title.

static var changeGrayCellMask: NSCellStyleMask

The button cell swaps the “control color” (the controlColor method of NSColor) and white pixels on its background and icon.

static var changeBackgroundCellMask: NSCellStyleMask

Same as NSChangeGrayCellMask, but only background pixels are changed.

Relationships

Conforms To