docs » plugins.core.preferences.panels.touchbar


Touch Bar Preferences Panel

API Overview

API Documentation

Variables

defaultIconPath

Signature plugins.core.preferences.panels.touchbar.defaultIconPath -> string
Type Variable
Description Default Path where built-in icons are stored

maxItems

Signature plugins.core.preferences.panels.touchbar.maxItems -> number
Type Variable
Description The maximum number of Touch Bar items per group.

supportedExtensions

Signature plugins.core.preferences.panels.touchbar.supportedExtensions -> string
Type Variable
Description Table of supported extensions for Touch Bar Icons.

Functions

getGroupEditor

Signature plugins.core.preferences.panels.touchbar.getGroupEditor(groupId) -> none
Type Function
Description Gets the Group Editor
Parameters
  • groupId - Group ID
Returns
  • Group Editor

init

Signature plugins.core.preferences.panels.touchbar.init(deps, env) -> module
Type Function
Description Initialise the Module.
Parameters
  • deps - Dependancies Table
  • env - Environment Table
Returns
  • The Module

setGroupEditor

Signature plugins.core.preferences.panels.touchbar.setGroupEditor(groupId, editorFn) -> none
Type Function
Description Sets the Group Editor
Parameters
  • groupId - Group ID
  • editorFn - Editor Function
Returns
  • None

Fields

enabled

Signature plugins.core.preferences.panels.touchbar.enabled <cp.prop: boolean>
Type Field
Description Enable or disable Touch Bar Support.

lastGroup

Signature plugins.core.preferences.panels.touchbar.lastGroup <cp.prop: string>
Type Field
Description Last group used in the Preferences Drop Down.

results matching ""

    No results matching ""