virtual

Last updated 9 months ago

Virtual Touch Bar Manager

Submodules

API Overview

API Documentation

Constants

Signature

plugins.core.touchbar.manager.virtual.LOCATION_DEFAULT_VALUE -> string

Type

Constant

Description

Default location value.

Signature

plugins.core.touchbar.manager.virtual.LOCATION_DRAGGABLE -> string

Type

Constant

Description

Location is Draggable.

Signature

plugins.core.touchbar.manager.virtual.LOCATION_MOUSE -> string

Type

Constant

Description

Location is Mouse.

Functions

callback

Signature

plugins.core.touchbar.manager.virtual.callback() -> none

Type

Function

Description

Callback Function for the Virtual Touch Bar

Parameters

Returns

hide

Signature

plugins.core.touchbar.manager.virtual.hide() -> none

Type

Function

Description

Hide the Virtual Touch Bar

Parameters

Returns

show

Signature

plugins.core.touchbar.manager.virtual.show() -> none

Type

Function

Description

Show the Virtual Touch Bar

Parameters

Returns

start

Signature

plugins.core.touchbar.manager.virtual.start() -> none

Type

Function

Description

Initialises the Virtual Touch Bar

Parameters

Returns

stop

Signature

plugins.core.touchbar.manager.virtual.stop() -> none

Type

Function

Description

Stops the Virtual Touch Bar

Parameters

Returns

update

Signature

plugins.core.touchbar.manager.virtual.update() -> none

Type

Function

Description

Updates the visibility and location of the Virtual Touch Bar

Parameters

Returns

Fields

enabled

Signature

plugins.core.touchbar.manager.virtual.enabled <cp.prop: boolean>

Type

Field

Description

Is true if the plugin is enabled.

isActive

Signature

plugins.core.touchbar.manager.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.manager.virtual.lastLocation <cp.prop: point table>

Type

Field

Description

The last known Virtual Touch Bar Location