Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSButtonCellMBS class.
NSButtonCellMBS.alternateImage as NSImageMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Note that some button types don't display an alternate image.
(Read and Write property)
NSButtonCellMBS.alternateTitle as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Note that some button types don't display an alternate title.
(Read and Write property)
NSButtonCellMBS.attributedAlternateTitle as NSAttributedStringMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Note that some button types don't display an alternate title.
Graphics attributes that are set on the cell (backgroundColor, alignment, font, etc.) are overridden when corresponding properties are set for the attributed string.
(Read and Write property)
NSButtonCellMBS.attributedTitle as NSAttributedStringMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The title is always shown on buttons that don't use their alternate contents when highlighting or displaying their alternate state.
Graphics attributes configured for the cell (backgroundColor, alignment, font, etc.) are overridden when corresponding properties are set for the attributed string.
(Read and Write property)
NSButtonCellMBS.backgroundColor as NSColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write property)
NSButtonCellMBS.imageDimsWhenDisabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
When disabled, the image and text of an NSButtonCell are normally dimmed with gray.
Radio buttons and switches use (imageDimsWhenDisabled = false) so only their text is dimmed.
(Read and Write property)
NSButtonCellMBS.imagePosition as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write property)
NSButtonCellMBS.imageScaling as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Available in OS X v10.5 and later.
(Read and Write property)
NSButtonCellMBS.showsBorderOnlyWhileMouseInside as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write property)
NSButtonCellMBS.sound as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The sound is played during a mouse-down event, such as NSLeftMouseDown.
Value is a NSSoundMBS object.
(Read and Write property)
The items on this page are in the following plugins: MBS MacCocoa Plugin.