1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/sysdata/ui_lisp/sample.uil

27 lines
560 B
Plaintext
Raw Permalink Normal View History

2024-09-12 15:34:28 -05:00
/*
the following snippet lays out the following.
10 11
*/
(vertical
(label "10")
(label "11"))
/*
Each button must have an ID. This ID must be unique per button or the buttons with the same
ID will be treated as the same button.
*/
(button id:8)
/*
This unique ID rull applies to any interactable element.
*/
(label interactive:true id:9)
/*
The ID is used to send a message to the buffer of the process that handles UI.
The following code will handle displaying text locally and also sending the delta change to the buffer.
*/
(line-edit id:10)