Table of contents

Example #1. Hello Lui

Hello World app with Lui.

Window {
	title: "Window app"
	width: 640
	height: 640
	
	Label {
		caption: "Hello Lui"
	}
}

Example #2. Bind var

Bind var with property of component.

win_caption = "Window app"
label_caption = "Bind vars example"

#LUI

Window {
	title: win_caption

	Label {
		caption: label_caption
	}
}

Example #3. Bind list

Bind list with property data of List component.

lst = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
								
#LUI

Window {
	title: "Bind list example"

	Label {
		caption: "My list"
	}

	List {
		data: lst
	}
}