Skip to content

Frames

Decorative frames to group related widgets.

Creating a Frame

let frame = gui_frame("Settings");

Adding Content

let frame = gui_frame("User Info");
let box = gui_box("vertical", 5);

let label1 = gui_label("Name: Alice");
let label2 = gui_label("Age: 30");

gui_add(box, label1);
gui_add(box, label2);
gui_add(frame, box);