Structure

NSCell.StyleMask

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.

Topics

Constants

static var pushInCellMask: NSCell.StyleMask

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

static var contentsCellMask: NSCell.StyleMask

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

static var changeGrayCellMask: NSCell.StyleMask

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

static var changeBackgroundCellMask: NSCell.StyleMask

Same as NSChangeGrayCellMask, but only background pixels are changed.

Relationships

Conforms To