import widget

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
import widget from array <arrayVar>
Summary

Creates a widget from the supplied state array.

Introduced8.0
OSmac, windows, linux, ios, android
Platformsdesktop, mobile
Parameters
NameTypeDescription
arrayVar

A variable containing a widget state array, previously obtained using export widget

Example
import widget from array tMyArray
RelatedCommand: export widget, create widget
Description

Use the import widget command to recreate a widget previously saved using the export command.

The imported object is placed in the current stack.

For details of the format of the widget state array see export widget.

*Note*: The export widget command is subject to change throughout the 8.0 development cycle.