Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
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)
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)
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)
The items on this page are in the following plugins: MBS MacCocoa Plugin.