docs » cp.apple.finalcutpro.main.SecondaryWindow


Secondary Window Module.

API Overview

  • Fields - Variables which can only be accessed from an object returned by a constructor
  • Methods - API calls which can only be made on an object returned by a constructor

API Documentation

Fields

frame

Signature cp.apple.finalcutpro.main.SecondaryWindow.frame <cp.prop: frame>
Type Field
Description The current position (x, y, width, height) of the window.

Methods

watch

Signature cp.apple.finalcutpro.main.SecondaryWindow:watch() -> bool
Type Method
Description Watch for events that happen in the command editor
Parameters
  • `events` - A table of functions with to watch. These may be:
  • `show(window)` - Triggered when the window is shown.
  • `hide(window)` - Triggered when the window is hidden.
  • `move(window)` - Triggered when the window is moved.
Returns
  • An ID which can be passed to `unwatch` to stop watching.

results matching ""

    No results matching ""