|
|
int | length |
| | table size; assigning it resizes the table, new entries taking the default value
|
| |
|
number | min |
| | minimum value (read-only, use setRange)
|
| |
|
number | max |
| | maximum value (read-only, use setRange)
|
| |
|
number | default |
| | default value, given to entries added when the table grows
|
| |
| string | backgroundColour |
| | background colour: colour string that defines the desired colour.
|
| |
| string | sliderColour |
| | slider colour: colour string that defines the
|
| |
|
bool | showPopupDisplay |
| | show/hide the value popup display (if any)
|
| |
|
string | fillStyle |
| | background and slider fill style: 'gloss' or 'solid'
|
| |
|
bool | drawInnerEdge |
| | draw separation line between each bar (default is true)
|
| |
| string | innerEdgeColour |
| | inner edge colour: colour string that defines the desired colour.
|
| |
|
string | name |
| | widget name, given at construction (read-only)
|
| |
|
string | displayName |
| | widget display name
|
| |
| string | displayText |
| | custom text to display in place of the standard value display, on widgets that show one.
|
| |
|
string | tooltip |
| | widget tooltip, default is name
|
| |
|
int | x |
| | x position in pixels
|
| |
|
int | y |
| | y position in pixels
|
| |
|
int | width |
| | widget width in pixels
|
| |
|
int | height |
| | widget height in pixels
|
| |
|
int | w |
| | alias of width
|
| |
|
int | h |
| | alias of height
|
| |
|
table | size |
| | widget size {width, height}
|
| |
|
table | position |
| | widget position {x,y}
|
| |
|
table | pos |
| | alias of position
|
| |
|
table | bounds |
| | widget bounding rect {x,y,width,height}
|
| |
|
number | alpha |
| | transparency value between 0.0 and 1.0
|
| |
|
bool | enabled |
| | boolean flag to enable / disable the widget
|
| |
|
bool | visible |
| | boolean flag to toggle widget visibility
|
| |
| bool | interceptsMouseClicks |
| | boolean flag to toggle mouse handling on widget.
|
| |
|
bool | showLabel |
| | show widgets label if any
|
| |
| bool | persistent |
| | flag to tell if the widget values should be serialized when saving.
|
| |
| function | changed |
| | callback function used by child widgets to be notified of changes.
|
| |
Table widget.
creates a table widget on the user interface.
t =
Table(
"table", 10, 0, -12, 12,
true)
end
Table(string name, int size, number def, number min, number max, bool integer)
creates a table widget on the user interface.
number getValue(int index)
get a table value.