Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSTouchBarMBS.Available as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: Whether this class is available.
Example:
if NSTouchBarMBS.Available then
MsgBox "This Mac may have a TouchBar or not."
else
MsgBox "This Mac is too old for a TouchBar."
end if
Notes: Returns true on macOS 10.12.1 and newer, if the version with TouchBar support is installed.

Feedback, Comments & Corrections

NSTouchBarMBS.RemoveTouchBarFromApp
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 17.3 Yes No No Yes, macOS only No
Function: Removes TouchBar for app.

Feedback, Comments & Corrections

NSTouchBarMBS.RemoveTouchBarFromWindow(window as NSWindowMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 17.3 Yes No No Yes, macOS only No
Function: Removes TouchBar for window.

See also:

Feedback, Comments & Corrections

NSTouchBarMBS.RemoveTouchBarFromWindow(window as window)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 17.3 Yes No No No No
Function: Removes TouchBar for window.

See also:

Feedback, Comments & Corrections

NSTouchBarMBS.toggleTouchBarCustomizationPalette
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: Show or dismiss the customization palette for the currently displayed touch bars.
Notes: NSApplication validates this selector against whether the current touch bars are customizable and, if configured on a menu item, will standardize and localize the title. If the current system does not have touch bar support, the menu item will be automatically hidden.

Feedback, Comments & Corrections

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





Links
MBS Xojo tutorial videos