Messagebox~
obj:msgbox
Property | Value | Default | Description |
---|---|---|---|
text | string | "" | The text of the message to be displayed. |
options | json array | ["OK"] | Json array of strings where each element is the label of a button |
bool | false | Make the messagebox a modal dialog requiring user input | |
auto_close | int16 | 0 | Close the pop-up message automatically after this number of milliseconds have passed |
The Message boxes act as a pop-up. The default width is the horizontal screen size, the height adjusts according to the contents of the message. The pop-up is centered on the screen.
Note
The messagebox object is automatically deleted when it is closed. You will need to create it again using jsonl
to pop-up a new message.
Example jsonl
1 |
|