docs » plugins.core.preferences.panels.touchbar
Touch Bar Preferences Panel
- Variables - Configurable values
- defaultIconPath
- maxItems
- supportedExtensions
- Functions - API calls offered directly by the extension
- getGroupEditor
- init
- setGroupEditor
- Fields - Variables which can only be accessed from an object returned by a constructor
- enabled
- lastGroup
| Signature | plugins.core.preferences.panels.touchbar.defaultIconPath -> string |
|---|---|
| Type | Variable |
| Description | Default Path where built-in icons are stored |
| Signature | plugins.core.preferences.panels.touchbar.maxItems -> number |
|---|---|
| Type | Variable |
| Description | The maximum number of Touch Bar items per group. |
| Signature | plugins.core.preferences.panels.touchbar.supportedExtensions -> string |
|---|---|
| Type | Variable |
| Description | Table of supported extensions for Touch Bar Icons. |
| Signature | plugins.core.preferences.panels.touchbar.getGroupEditor(groupId) -> none |
|---|---|
| Type | Function |
| Description | Gets the Group Editor |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.preferences.panels.touchbar.init(deps, env) -> module |
|---|---|
| Type | Function |
| Description | Initialise the Module. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.preferences.panels.touchbar.setGroupEditor(groupId, editorFn) -> none |
|---|---|
| Type | Function |
| Description | Sets the Group Editor |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.preferences.panels.touchbar.enabled <cp.prop: boolean> |
|---|---|
| Type | Field |
| Description | Enable or disable Touch Bar Support. |
| Signature | plugins.core.preferences.panels.touchbar.lastGroup <cp.prop: string> |
|---|---|
| Type | Field |
| Description | Last group used in the Preferences Drop Down. |