Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSSliderTouchBarItemMBS class.

NSSliderTouchBarItemMBS.customizationLabel as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The localized string labelling this item during user customization.

The default value is empty string.
(Read and Write property)

NSSliderTouchBarItemMBS.label as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The text label displayed along with the slider.
Example
dim t as NSSliderTouchBarItemMBS = new NSSliderTouchBarItemMBS("test")
t.label = "Pen Size"

If set to nil, the label will not have space reserved in the item.
(Read and Write property)

NSSliderTouchBarItemMBS.maxValue as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The maximum value of the slider.
Example
dim t as NSSliderTouchBarItemMBS = new NSSliderTouchBarItemMBS("test")
t.minValue = 0.0
t.maxValue = 1.0
t.value = 0.5

(Read and Write property)

NSSliderTouchBarItemMBS.minValue as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The minimum value of the slider.
Example
dim t as NSSliderTouchBarItemMBS = new NSSliderTouchBarItemMBS("test")
t.minValue = 0.0
t.maxValue = 1.0
t.value = 0.5

(Read and Write property)

NSSliderTouchBarItemMBS.slider as NSSliderMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The slider displayed by the bar item.
Example
dim t as NSSliderTouchBarItemMBS = new NSSliderTouchBarItemMBS("test")
t.minValue = 0.0
t.maxValue = 1.0
t.value = 0.5

It is automatically created, but can be set to a custom subclass.
Value, minValue, maxValue, etc can all be read and set through the slider.
(Read and Write property)

NSSliderTouchBarItemMBS.value as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property TouchBar MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The current value of the slider.

(Read and Write property)

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...