NSButtonCell

From GNUstepWiki

Revision as of 01:21, 21 July 2012; view current revision
←Older revision | Newer revision→

Contains display and keyboard handeling for an NSButton, must be owned by an NSButton.

XIB fields

class="NSButtonCell" key="NSCell" id=[int]

Key Type Description
NSCellFlags int (inherits from NSCell)
NSCellFlags2 int More flags, because 8 weren't enough
NSContents NSString The label of the button
NSSupport NSFont The font for the label.
NSControlView reference inherits from NSCell
NSButtonFlags int yet more flags
NSButtonFlags2 int more flags
NSNormalImage NSCustomResource (optional) The image the button should display
NSAlternateImage NSCustomResource (optional) The image the button should display in an alternate state.
NSAlternateContents NSString The label to display in the button's alternate state.
NSKeyEquivalent NSString see NSControl
NSPeriodicDelay int see NSControl
NSPeriodicInterval int see NSControl
NSSound NSCustomResource see NSControl