Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
79 lines (65 loc) · 5.44 KB

plugins.core.touchbar.manager.widgets.md

File metadata and controls

79 lines (65 loc) · 5.44 KB

docs » plugins.core.touchbar.manager.widgets


Touch Bar Widgets Manager

API Overview

  • Variables - Configurable values
  • widgets
  • Functions - API calls offered directly by the extension
  • allGroups
  • Methods - API calls which can only be made on an object returned by a constructor
  • get
  • getAll
  • id
  • new
  • params

API Documentation

Variables

Signature plugins.core.touchbar.manager.widgets -> table
Type Variable
Description Widget Manager

Functions

Signature plugins.core.touchbar.manager.widgets.allGroups() -> table
Type Function
Description Returns a table containing all of the widget groups.
Parameters
  • None
Returns
  • Table

Methods

Signature plugins.core.touchbar.manager.widgets:get(id) -> table
Type Method
Description Gets a Touch Bar widget
Parameters
  • id - The unique ID for the widget you want to return.
Returns
  • table containing the widget
Signature plugins.core.touchbar.manager.widgets:getAll() -> table
Type Method
Description Returns all of the created widgets
Parameters
  • None
Returns
  • table containing all of the created callbacks
Signature plugins.core.touchbar.manager.widgets:id() -> string
Type Method
Description Returns the ID of the widget
Parameters
  • None
Returns
  • The ID of the widget as a string
Signature plugins.core.touchbar.manager.widgets:new(id, params) -> table
Type Method
Description Creates a new Touch Bar Widget.
Parameters
  • id - The unique ID for this widget.
Returns
  • table that has been created
Signature plugins.core.touchbar.manager.widgets:params() -> function
Type Method
Description Returns the paramaters of the widget
Parameters
  • None
Returns
  • The paramaters of the widget