docs » plugins.core.touchbar.virtual
Virtual Touch Bar Manager
- Constants - Useful values which cannot be changed
- LOCATION_DEFAULT_VALUE
- LOCATION_DRAGGABLE
- LOCATION_MOUSE
- Variables - Configurable values
- updateLocationCallback
- Functions - API calls offered directly by the extension
- callback
- hide
- init
- show
- start
- stop
- touchbar
- update
- Fields - Variables which can only be accessed from an object returned by a constructor
- enabled
- isActive
- lastLocation
- supported
Signature | plugins.core.touchbar.virtual.LOCATION_DEFAULT_VALUE -> string |
---|---|
Type | Constant |
Description | Default location value. |
Signature | plugins.core.touchbar.virtual.LOCATION_DRAGGABLE -> string |
---|---|
Type | Constant |
Description | Location is Draggable. |
Signature | plugins.core.touchbar.virtual.LOCATION_MOUSE -> string |
---|---|
Type | Constant |
Description | Location is Mouse. |
Signature | plugins.core.touchbar.virtual.updateLocationCallback -> table |
---|---|
Type | Variable |
Description | Update Location Callback |
Signature | plugins.core.touchbar.virtual.callback() -> none |
---|---|
Type | Function |
Description | Callback Function for the Virtual Touch Bar |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.virtual.hide() -> none |
---|---|
Type | Function |
Description | Hide the Virtual Touch Bar |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.virtual.init() -> self |
---|---|
Type | Function |
Description | Initialise the module. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.virtual.show() -> none |
---|---|
Type | Function |
Description | Show the Virtual Touch Bar |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.virtual.start() -> none |
---|---|
Type | Function |
Description | Initialises the Virtual Touch Bar |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.virtual.stop() -> none |
---|---|
Type | Function |
Description | Stops the Virtual Touch Bar |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.virtual.touchbar() -> none |
---|---|
Type | Function |
Description | Returns the hs._asm.undocumented.touchbar object if it exists. |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.virtual.update() -> none |
---|---|
Type | Function |
Description | Updates the visibility and location of the Virtual Touch Bar |
Parameters |
|
Returns |
|
Signature | plugins.core.touchbar.virtual.enabled <cp.prop: boolean> |
---|---|
Type | Field |
Description | Is true if the plugin is enabled. |
Signature | plugins.core.touchbar.virtual.isActive <cp.prop: boolean; read-only> |
---|---|
Type | Field |
Description | Is true if the plugin is enabled and the TouchBar is supported on this OS. |
Signature | plugins.core.touchbar.virtual.lastLocation <cp.prop: point table> |
---|---|
Type | Field |
Description | The last known Virtual Touch Bar Location |
Signature | plugins.core.touchbar.virtual.supported <cp.prop: boolean; read-only> |
---|---|
Type | Field |
Description | Is true if the Touch Bar is supported on this version of macOS. |