QLButton:
Filter:
Classes (extension) | Frontends > QuickLauncher

QLButton : Object
ExtensionExtension

A button for use with QuickLauncher
Source: QLButton.sc

Description

This is a button for use with QuickLauncher

Class Methods

QLButton.new(name: "Button", alwaysOnTop: false, bounds, showButtonFunc)

Create a new QLButton

Arguments:

name

Text to be displayed on the button

alwaysOnTop

Should the created window always be displayed on top of other windows?

bounds

Bounds of the window to be created

showButtonFunc

A function to create a window. This function should always return a Window object to allow for the rest of the class methods to work.

Inherited class methods

Instance Methods

.alwaysOnTop

.alwaysOnTop = value

Should the created window always be displayed on top of other windows?

.showButtonFunc

.showButtonFunc = value

A function to create a window. This function should always return a Window object to allow for the rest of the class methods to work.

.bounds

.bounds = value

Bounds of the window to be created

.button

Provides access to the button object

.name

.name = value

Name to display on the button

.window

Provides access to the window created by the function

.closeWindow

Close the window and reset the button state

Inherited instance methods

Undocumented instance methods

.setWindowOptions