PreferencesWindow

Last updated 4 months ago

Preferences 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.prefs.PreferencesWindow.frame <cp.prop: frame; live>

Type

Field

Description

The current position (x, y, width, height) of the window.

hsWindow

Signature

cp.apple.finalcutpro.prefs.PreferencesWindow.hsWindow <cp.prop: hs.window; read-only>

Type

Field

Description

The hs.window instance for the window, or nil if it can't be found.

Signature

cp.apple.finalcutpro.prefs.PreferencesWindow.isFullScreen <cp.prop: boolean; live>

Type

Field

Description

Is true if the window is full-screen.

isShowing

Signature

cp.apple.finalcutpro.prefs.PreferencesWindow.isShowing <cp.prop: boolean; live>

Type

Field

Description

Is true if the window is visible.

toolbar

Signature

cp.apple.finalcutpro.prefs.PreferencesWindow.toolbar <cp.ui.Toolbar>

Type

Field

Description

The Toolbar for the Preferences Window.

UI

Signature

cp.apple.finalcutpro.prefs.PreferencesWindow.UI <cp.prop: hs._asm.axuielement; read-only; live>

Type

Field

Description

The axuielement instance for the window.

Methods

window

Signature

cp.apple.finalcutpro.prefs.PreferencesWindow:window() -> cp.ui.Window

Type

Method

Description

Returns the Window for the Preferences Window.

Parameters

None

Returns

The Window.