#plugins.core.touchbar.manager.widgets

Touch Bar Widgets Manager


#API Overview

Variables - Configurable values

Functions - API calls offered directly by the extension

Methods - API calls which can only be made on an object returned by a constructor


#API Documentation

#Variables

Signatureplugins.core.touchbar.manager.widgets -> table
TypeVariable
DescriptionWidget Manager
NotesNone
Sourcesrc/plugins/core/touchbar/manager/init.lua line 46

#Functions

Signatureplugins.core.touchbar.manager.widgets.allGroups() -> table
TypeFunction
DescriptionReturns a table containing all of the widget groups.
Parameters
  • None
Returns
  • Table
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/manager/widgets.lua line 96

#Methods

Signatureplugins.core.touchbar.manager.widgets:get(id) -> table
TypeMethod
DescriptionGets a Touch Bar widget
Parameters
  • id - The unique ID for the widget you want to return.
Returns
  • table containing the widget
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/manager/widgets.lua line 44

Signatureplugins.core.touchbar.manager.widgets:getAll() -> table
TypeMethod
DescriptionReturns all of the created widgets
Parameters
  • None
Returns
  • table containing all of the created callbacks
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/manager/widgets.lua line 57

Signatureplugins.core.touchbar.manager.widgets:id() -> string
TypeMethod
DescriptionReturns the ID of the widget
Parameters
  • None
Returns
  • The ID of the widget as a string
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/manager/widgets.lua line 70

Signatureplugins.core.touchbar.manager.widgets:new(id, params) -> table
TypeMethod
DescriptionCreates a new Touch Bar Widget.
Parameters
  • id - The unique ID for this widget.
  • params - A table of parameters
Returns
  • table that has been created
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/manager/widgets.lua line 20

Signatureplugins.core.touchbar.manager.widgets:params() -> function
TypeMethod
DescriptionReturns the paramaters of the widget
Parameters
  • None
Returns
  • The paramaters of the widget
NotesNone
ExamplesNone
Sourcesrc/plugins/core/touchbar/manager/widgets.lua line 83