add a simple example

This commit is contained in:
Vladimir Markelov 2017-04-04 17:27:58 -07:00
parent 4ec42911be
commit 37faeed2ca

View File

@ -27,7 +27,9 @@ An UI application without a window is useless. Let's create an empty window. Add
view := ui.AddWindow(0, 0, 10, 7, "Hello World!")
```
0, 0 - is the position of the new window. The top left corner in our case
10, 7 - minimal width and height of the window
"Hello World!" - is the window title
### Make the application work