Class: RegionButton

dto~ RegionButton

This type is responsible for storing button-specific region data associated with a parent region.

new RegionButton()

Constructor, creates a new instance of this type.
Tutorials:

Members

caption :string

Stores the caption for this button. Captions will be limited to the maximum size specified in DisplayInfo.captionLength.

flags :module:dto~RegionButtonFlags

Stores flags associated with this button.

parentContainer :number

The number of the parent container that this button should be drawn in. This MUST be set correctly. Not setting this correctly will either cause the button not to appear correctly (with newer firmware) or will cause the device to crash.