LPButtonArray:
Filter:
Launchpad/Classes (extension) | Launchpad

LPButtonArray
ExtensionExtension

a Launchpad-GUI-Element (LPView subclass)

Description

A Lauchpad-GUI-Element (LPView subclass) which is an array of Push-Buttons which share one action function.

Class Methods

Instance Methods

.onleds

Array of LPLEDs describing the color of the Buttons in the state of being selected.

.ofleds

Array of LPLEDs describing the color of the Buttons in the state of being not selected.

.action

A function that is called when the Button on the Launchpad is pushed. The function gets as first argument the LPButtonArray itself.

Examples