Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
TouchBar.GetAutomaticCustomizeTouchBarMenuItemEnabled
Queries whether customize menu is automatically enabled.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
TouchBar | 6.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "TouchBar.GetAutomaticCustomizeTouchBarMenuItemEnabled" )
Parameters
none
Result
Returns 0, 1 or error.
Description
Queries whether customize menu is automatically enabled.Whether or not a menu item to customize the touch bar can be automatically added to the main menu. It will only actually be added when a touch bar hardware or simulator is present. Defaults to 0. Setting this property to 1 is the recommended way to add the customization menu item.
But if non-standard placement of the menu item is needed, creating a menu item with an action of toggleTouchBarCustomizationPalette can be used instead.
See also
Blog Entries
This function is free to use.
Created 1st November 2016, last changed 1st November 2016
TouchBar.Create - TouchBar.GetCustomizationAllowedItemIdentifiers