Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSSegmentedControlMBS class.
NSSegmentedControlMBS.cellTrackingMode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Possible values for trackingMode are described in NSSegmentSwitchTracking. The default value is NSSegmentSwitchTrackingSelectOne.
This property was named only trackingMode in 15.1 and older plugins.
(Read and Write property)
NSSegmentedControlMBS.doubleValueForSelectedSegment as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This message is valid only for trackingMode = NSSegmentSwitchTrackingMomentaryAccelerator and provides the double value for the selected segment.
Available on Mac OS X 10.10.3.
(Read only property)
NSSegmentedControlMBS.segmentCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 12.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
(Read and Write property)
NSSegmentedControlMBS.segmentStyle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 12.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
See style constants.
Available in Mac OS X v10.5 and later.
(Read and Write property)
Some examples using this property:
NSSegmentedControlMBS.selectedSegment as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 12.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The index of the currently selected segment or -1 if no segment is selected. If the receiver allows multiple selections, this method returns the most recently selected segment.
(Read and Write property)
Some examples using this property:
NSSegmentedControlMBS.springLoaded as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Defaults to false.
(Read and Write property)
NSSegmentedControlMBS.trackingMode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Controls | MBS MacCocoa Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
An NSSegmentSwitchTracking value specifies how the control responds when the user presses a keyboard key or clicks, force clicks (applies pressure in a pressure-sensitive system), releases pressure, and so on.
see NSSegmentSwitchTracking* constants.
Available on Mac OS X 10.10.3 and newer.
(Read and Write property)
Some examples using this property:
The items on this page are in the following plugins: MBS MacCocoa Plugin.