2021-08-08 20:59:13 -05:00
|
|
|
# control-panel-tests
|
2019-06-13 19:53:47 -05:00
|
|
|
|
2021-08-08 20:59:13 -05:00
|
|
|
This is a set of demo apps that use the AndLabs UI toolkit.
|
|
|
|
It also uses a wrapper around it that puts all the gtk elements
|
|
|
|
in a structure so they can all be accessed.
|
2019-06-13 19:53:47 -05:00
|
|
|
|
2021-08-08 20:59:13 -05:00
|
|
|
This code should compile and work on Linux, MacOS and Windows.
|
2019-06-13 19:53:47 -05:00
|
|
|
|
2021-08-08 20:59:13 -05:00
|
|
|
It is very *alpha*.
|
2019-06-13 19:53:47 -05:00
|
|
|
|
|
|
|
# IMPORTANT NOTES
|
|
|
|
|
|
|
|
To use the cross platform UI, all GUI interactions must be
|
|
|
|
done from within the same goroutine for it to work properly
|
|
|
|
on Windows. This is an annoying limitation of how Windows works
|
|
|
|
(or so it appears. maybe someone will figure out how to fix that)
|
|
|
|
|
|
|
|
This means the Windows version of this GUI will probably always
|
|
|
|
be sub-par verses the Linux and Macintosh versions
|
|
|
|
|
|
|
|
# build
|
|
|
|
|
|
|
|
```
|
2021-08-08 20:35:57 -05:00
|
|
|
go get -v -t -u git.wit.org/wit/control-panel-tests
|
|
|
|
cd ~/go/src/git.wit.org/wit/control-panel-tests
|
|
|
|
make
|
2019-06-13 19:53:47 -05:00
|
|
|
```
|
|
|
|
|
2021-08-08 20:35:57 -05:00
|
|
|
# screenshots
|
2021-08-08 20:37:51 -05:00
|
|
|
## example-table
|
2021-08-08 20:35:57 -05:00
|
|
|
![test image](example-table/screenshot.png)
|
2021-08-08 20:37:51 -05:00
|
|
|
## example-gui
|
|
|
|
![test image](example-gui/capture.gif)
|
2021-08-08 22:24:42 -05:00
|
|
|
## example-systray
|
|
|
|
![test image](example-systray/capture.mp4)
|
2021-08-08 20:35:57 -05:00
|
|
|
|
2019-06-13 19:53:47 -05:00
|
|
|
# License
|
|
|
|
|
|
|
|
This is a GPL 3.0 Project.
|
|
|
|
|
|
|
|
# Credits
|
|
|
|
|
|
|
|
* All the GO developers & Google
|
|
|
|
* The andlabs people that made the golang cross platform UI
|
|
|
|
* All the kernel, KVM and QEMU developers
|