domapi.Statusbar
See also: ElmSee also: Component
A statusbar which can contain multiple panels of information. Makes use of the Resizegrip component.
Statusbar Example: system, aqua
Statusbar Constructor
var statusbar1 = domapi.Statusbar({
h : 18,
gap : 2,
margin : 2
});
Constructor Details
| Parameter | Type | Default | Description |
|---|---|---|---|
| h | integer | 18 | |
| gap | integer | 2 | |
| margin | integer | 2 |
Methods unique to domapi.Statusbar
Properties unique to domapi.Statusbar
Methods
| addPanel( arg ) |
|---|
The "arg" parameter fed to this method is an inline Object. See below for accepted parameters.
Any parameters not listed here that you add may also be attached to any returned Object.
Adds a new panel to the control.
Available "arg" Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| minW | integer | 50 | ||
| type | integer | ptStretch | Valid entries are ptStretch and ptFixed. | |
| text | String | The contents of the panel. | ||
| textAlign | String | left |
| See also: | panels |
Properties
| panels | type : Array |
|---|
The collection of panels. Use Statusbar.addPanel() to add new panels.
| See also: | addPanel |
