Enumeration

NSCellStyleMask

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

Declaration

typedef enum NSCellStyleMask : NSUInteger {
    ...
} NSCellStyleMask;

Overview

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

Topics

Constants

NSNoCellMask

The button cell doesn’t change.

NSPushInCellMask

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

NSContentsCellMask

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

NSChangeGrayCellMask

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

NSChangeBackgroundCellMask

Same as NSChangeGrayCellMask, but only background pixels are changed.