Internationalisation
Bundled Plugins API
fileDroppedToDockIconCallback
File Dropped to Dock Icon Callback

API Overview

  • Methods - API calls which can only be made on an object returned by a constructor
  • get
  • getAll
  • id
  • new

API Documentation

Methods

Signature
cp.config.fileDroppedToDockIconCallback:callbackFn() -> function
Type
Method
Description
Returns the callbackFn of the current File Dropped to Dock Icon Callback
Parameters
  • None
Returns
  • The callbackFn of the current Shutdown Callback

get

Signature
cp.config.fileDroppedToDockIconCallback:get(id) -> table
Type
Method
Description
Creates a new File Dropped to Dock Icon Callback.
Parameters
  • id - The unique ID for the callback you want to return.
Returns
  • table containing the callback

getAll

Signature
cp.config.fileDroppedToDockIconCallback:getAll() -> table
Type
Method
Description
Returns all of the created File Dropped to Dock Icon Callbacks
Parameters
  • None
Returns
  • table containing all of the created callbacks

id

Signature
cp.config.fileDroppedToDockIconCallback:id() -> string
Type
Method
Description
Returns the ID of the current Text Dropped to Dock Icon Callback
Parameters
  • None
Returns
  • The ID of the current File Dropped to Dock Icon Callback as a string

new

Signature
cp.config.fileDroppedToDockIconCallback:new(id, callbackFn) -> table
Type
Method
Description
Creates a new File Dropped to Dock Icon Callback.
Parameters
  • id - The unique ID for this callback.
Returns
  • table that has been created
Last modified 1mo ago
Export as PDF
Copy link