#cp.config.dockIconClickCallback

Callback which triggers when the CommandPost Dock Icon is clicked


#API Overview

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


#API Documentation

#Methods

Signaturecp.config.dockIconClickCallback:callbackFn() -> function
TypeMethod
DescriptionReturns the callbackFn of the current Dock Icon Click Callback
Parameters
  • None
Returns
  • The callbackFn of the current Shutdown Callback
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/config/init.lua line 685

Signaturecp.config.dockIconClickCallback:get(id) -> table
TypeMethod
DescriptionCreates a new Dock Icon Click Callback.
Parameters
  • id - The unique ID for the callback you want to return.
Returns
  • table containing the callback
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/config/init.lua line 646

Signaturecp.config.dockIconClickCallback:getAll() -> table
TypeMethod
DescriptionReturns all of the created Dock Icon Click Callbacks
Parameters
  • None
Returns
  • table containing all of the created callbacks
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/config/init.lua line 659

Signaturecp.config.dockIconClickCallback:id() -> string
TypeMethod
DescriptionReturns the ID of the current Dock Icon Click Callback
Parameters
  • None
Returns
  • The ID of the current File Dropped to Dock Icon Callback as a string
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/config/init.lua line 672

Signaturecp.config.dockIconClickCallback:new(id, callbackFn) -> table
TypeMethod
DescriptionCreates a new File Dropped to Dock Icon Callback.
Parameters
  • id - The unique ID for this callback.
  • callbackFn - The callback function
Returns
  • table that has been created
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/config/init.lua line 619