export widget | ||||||||||
Type | command | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | Exports the state of the given widget in a form which can be imported using import widget from array. | |||||||||
Introduced | 8.0 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Related | Command: import widget, create widget | |||||||||
Description | Use the export widget command to save the state of the given widget in a form which can be used to recreate the widget at a later date. The returned array has two keys $kind and $state. The $kind key is the fully qualified name of the widget's extension module. The $state key is an array representing the widget as it is at that point in time. This is typically the values of all the widget's persistent properties, although its exact structure is defined by the widget.
|