disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

GuiSystem

A system which manages the general, high level and global variables and methods for the Designer GUI.

Properties

acceptDropDelegate : Callable

A delegate for a function which accepts a drop operation for a widget

consoleWindowDelegate : Callable

A delegate for a function which creates the console window Widget.

currentSetList : SetList

The current active set list.

currentTransportManager : TransportManager (Read-Only)

The current active transport manager.

debugWindowDelegate : Callable

A delegate for a function which creates the debug window Widget.

feedDisplayProxyLevelsDelegate : Callable

A delegate for a function which updates proxy levels in the feed view.

getSeparatorOpenDelegate : Callable

A delegate for a function which returns whether a separator is open.

gui : Gui

The GUI object, primarily used for widget management.

hasCustomEditorDelegate : Callable

A delegate for a function which returns whether a Resource has a custom Editor.

inputMapTransport : EventTransportInputMap (Read-Only)

The input map event transport which channels playback commands from the track widget.

makeCueListDelegate : Callable

A delegate for a function which makes a new cue list.

makeDropOperationDelegate : Callable

A delegate for a function which makes a drop operation for a widget.

makeEditorDelegate : Callable

A delegate for a function which makes a new Editor.

makeLinkDelegate : Callable

A delegate for a function which makes a link between Widgets.

makeListEditorDelegate : Callable

A delegate for a function which makes a new list Editor.

makeWidgetDelegate : Callable

A delegate for a function which makes a new Widget.

player : TrackPlayer (Read-Only)

The track player from the current active transport manager.

populateEditorDelegate : Callable

A delegate for a function which populates an Editor.

restoreFeedBookmarkDelegate : Callable

A delegate for a function which restores a feed bookmark.

selectedLayers : ReflectionValue (Read-Only)

The set of layers selected in the GUI

selectedLayersDelegate : Callable

A delegate for a function which returns the layers currently selected in the GUI.

setFeedBookmarkDelegate : Callable

A delegate for a function which sets a feed bookmark

setSeparatorOpenDelegate : Callable

A delegate for a function which opens a separator.

toggleQuantiserWindowDelegate : Callable

A delegate for a function which toggles the quantiser window.

toggleStickyDelegate : Callable

A delegate for a function which toggles the sticky status of a widget.

track : Track (Read-Only)

The current track being edited

visualiseMode : int

The visualisation mode of the GUI system.

Variables

VisualiseFeed : Final[int] = 2

The index of the ‘VisualiseFeed’ VisualiseMode option.

VisualiseNone : Final[int] = 0

The index of the ‘VisualiseNone’ VisualiseMode option.

VisualiseSpace : Final[int] = 1

The index of the ‘VisualiseSpace’ VisualiseMode option.

Constructors

__init__(self)

Methods

closeActiveWidget(self)

Close active widget

closeAllWidgets(self)

Close all non-sticking widgets

copyTextToClipboard(self, text: str)

Copies the given text to the clipboard.

Parameters:

customFps(self) -> optional[float]

Returns the custom FPS value, if it is set.

This method returns the custom fps value, if it has been set by the user. If the transport manager does not exist or does not have a custom fps value set, an empty optional is returned.

Returns The custom FPS value, if it is set. An empty optional otherwise.

cycleBackward(self)

Cycle backwards through windows

cycleEditFieldNext(self)

Select the next editable field in the current window

cycleEditFieldPrev(self)

Select the previous editable field in the current window

cycleForward(self)

Cycle forwards through windows

directorForceQuitAll(self)

Force quit all machines in the session

directorQuitAll(self)

Quit all machines in the session

directorRestartAll(self)

Restart all machines in the session

directorStartAll(self)

Start all machines in the session

editorDisplayProxyLevelsCallback(self, levels: VisibilityProxyLevels, display: Display, targetLod: float)

Callback function for updating the visibility proxy levels in the editor, based on what is being viewed in the GUI.

Parameters:

getDeviceManager(self) -> DeviceManager

The current active device manager.

getTextFromClipboard(self) -> str

Get text from the clipboard.

Returns The text from the clipboard, or an empty string if there is no text available.

mouseDragArrow(self, state: int, start: Vec2, pos: Vec2)

Create an arrow connection between two widgets

onAppStarted(self)

Called when the application starts and sets up the GUI system.

quitEverything(self)

Save and exit all machines in session without confirmation

quitOption(self)

Save and exit with confirmation

smpteClockType(self) -> int

Returns the SMPTE clock type used by the transport manager.

If there is no current transport manager, or if it does not have an SMPTE clock, this method returns the project clock type as a fallback.

Returns The SMPTE clock type.

toggleConsole(self)

Toggle dynamic console window

toggleDebugWindow(self)

Toggle debug output window

toggleHelpWindow(self)

Toggle context-sensitive shortcuts window

writeNoteConsole(self)

Write user note to Console