Table of contents

Forms
Layouts
Frame
Grid
Input
Button
Radio
Checkbox
Spinbox
Range
Line
Text
Output
Label List
Table
Tree

Lui translator commands

For work with lui.exe you need download them and add to PATH. At the moment lui.exe support next commands.

Comamnd Description
--help View all commands
--file=[filename] Set *.lui file for generation
--debug Turn on debug mode. On the each step of translation view a debug information
--version View current version of Lui

Lui #defines

Lui defines are constants allows to Lui preprocessor understand where user code and other things.

Define Description
#LUI Split user and Lui code
#FILENAME ["filename"] Set name of results Python file

1 Forms

Any components allows you create are forms likes as basic window, dialog or messages

1.1 Window

It's the main component of any GUI

Window {
	title: "Window caption"
	width: 640
	height: 640
}
Property Description
title Set title of window
width Set width size of window
height Set height size of window
background-color Set background-color of window

3 Input

Groups of widgets allows you to input data by user.

3.1 Button

It's basic button

Button {
	caption: "Button caption"
}
Property Description
caption Set text caption of button

4 Output

Groups of widgets allows you to output information from your variables

4.1 Label

It's simple label

Label {
	caption: "Label caption"
}
Property Description
caption Set text caption of label

4.2 List

It's list widget. With list you can output your vars like as list, tuple.

List {
	data: my_lst
}
Property Description
data Set any list for output