Difference between revisions of "NSButtonCell"

From GNUstepWiki
Jump to navigation Jump to search
m
 
m
 
Line 37: Line 37:
 
|-
 
|-
 
!NSNormalImage
 
!NSNormalImage
|NSCustomResource
+
|[[NSCustomResource]]
 
|(optional) The image the button should display
 
|(optional) The image the button should display
 
|-
 
|-
Line 54: Line 54:
 
!NSPeriodicDelay
 
!NSPeriodicDelay
 
|int
 
|int
|see [[NSControl]]
+
|see [[NSCell]]
 
|-
 
|-
 
!NSPeriodicInterval
 
!NSPeriodicInterval
 
|int
 
|int
|see [[NSControl]]
+
|see [[NSCelll]]
 
|-
 
|-
 
!NSSound
 
!NSSound
 
|[[NSCustomResource]]
 
|[[NSCustomResource]]
|see [[NSControl]]
+
|see [[NSCelll]]
 
|}
 
|}

Latest revision as of 01:24, 21 July 2012

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