🖥️Gui

Usage:

gui.{func_or_field}

Usage: gui.{func_or_field}

This table exposes the GUI system of the software.

All types and enums described in the child sections must be prefixed with gui..

ctx

Type: context

GUI context.


notify

Type: notification_system

Notification system.


input

Type: context_input

Input context.


make_control

Wraps a control into a layout consisting of a label and that specific control. You should add this new control to groupboxes if you want your control to be displayed nicely. Additionally, you can add any extra controls to the returned one - those will get stacked to the left side of your initial control.

Arguments

Name

Type

Description

text

string

Label value.

c

Control object.

Returns

Type

Description

Layout object.

Example

local row = gui.make_control('Hello checkbox!', my_cb);

Last updated