mirror of
https://github.com/VladimirMarkelov/clui.git
synced 2025-04-26 13:49:01 +08:00
add a simple example
This commit is contained in:
parent
4ec42911be
commit
37faeed2ca
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user