NSButtonCell

From GNUstepWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 NSCell
NSPeriodicInterval int see NSCelll
NSSound NSCustomResource see NSCelll