Widget that contains other widgets and acts as a container. For example, this widget is useful for showing and hiding many widgets at one time. Groups can have any number of widgets attached to them; e.g., Group widgets, Text widgets, and Input widgets.
There are certain Group widgets that are automatically instantiated for an app and must be used for displaying anything. The window property is always accessible to an app and is shown when the app is foregrounded. The property digium.app.idleWindow is instantiated based on the app's app.json manifest.
Class Constructor
new Group()
Constructs a new Group Object. A Group acts as a container for other widgets.
Initialization Parameters
Name | Required | Type | Default | Description |
---|---|---|---|---|
x | Yes | integer | x coordinate value for top left corner. | |
y | Yes | integer | y coordinate value for top left corner. | |
width | Yes | integer | Width in pixels. | |
height | Yes | integer | Height in pixels. |