Go to file
Jeff Carr 3a28ded3e8 GUI: add a example for wit/gui
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-09-01 21:05:06 -05:00
autobuild BUILD: fix import paths 2021-08-09 01:29:18 -05:00
bench1 BENCH: add some benchmarks 2021-09-01 14:45:20 -05:00
broken CLEAN: rename files 2021-09-01 14:34:07 -05:00
example-bench-fast-timer BENCH: add some benchmarks 2021-09-01 14:45:20 -05:00
example-bench-readWriteOps BENCH: add some benchmarks 2021-09-01 14:45:20 -05:00
example-expect BUILD: add rules to go get all the build deps 2021-09-01 20:07:52 -05:00
example-flag CODE: add an ARGV processing example 2021-09-01 14:55:34 -05:00
example-gocui-active BUILD: add more commands to automatically build 2021-09-01 13:05:30 -05:00
example-gocui-colorstrue BUILD: add more commands to automatically build 2021-09-01 13:05:30 -05:00
example-gocui-dynamic BUILD: add more commands to automatically build 2021-09-01 13:05:30 -05:00
example-gocui-mouse BUILD: add rules to go get all the build deps 2021-09-01 20:07:52 -05:00
example-gui GUI: add a example for wit/gui 2021-09-01 21:05:06 -05:00
example-json-decode CLEAN: rename files 2021-09-01 13:57:59 -05:00
example-lookupAAAA BUILD: add rules to go get all the build deps 2021-09-01 20:07:52 -05:00
example-nohup BUILD: add rules to go get all the build deps 2021-09-01 20:07:52 -05:00
example-pprof BUILD: add pprof 2021-09-01 13:24:53 -05:00
example-protobuf GUI: add a example for wit/gui 2021-09-01 21:05:06 -05:00
example-shell BUILD: add rules to go get all the build deps 2021-09-01 20:07:52 -05:00
example-ssh CLEAN: rename files 2021-09-01 14:34:07 -05:00
example-systray DOCS: add a gif 2021-09-01 20:41:56 -05:00
example-test -s 2019-06-13 17:53:47 -07:00
example-ui-controlgallery CLEANUP: lots of file renames 2021-09-01 13:18:33 -05:00
example-ui-multiple-windows BUILD: more makefile updates 2021-09-01 13:46:08 -05:00
example-ui-radiobutton UI: dump out editbox text 2021-09-01 15:26:08 -05:00
example-ui-show-hide CLEAN: rename files 2021-09-01 13:57:59 -05:00
example-ui-splash BUILD: more makefile updates 2021-09-01 13:46:08 -05:00
example-ui-table CLEANUP: lots of file renames 2021-09-01 13:18:33 -05:00
.gitignore CLEAN: rename files 2021-09-01 14:34:07 -05:00
LICENSE -s 2019-06-13 17:53:47 -07:00
Makefile GUI: add a example for wit/gui 2021-09-01 21:05:06 -05:00
README.md DOCS: add a gif 2021-09-01 20:41:56 -05:00

README.md

control-panel-tests

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.

This code should compile and work on Linux, MacOS and Windows.

It is very alpha.

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

clone

go get -v -t -u git.wit.org/jcarr/golang-examples

prep (download all the golang build dependancies)

cd ~/go/src/git.wit.org/jcarr/golang-examples
witgoget='-v -t -u' make prep

build

make build

screenshots

example-ui-table

test image

example-ui-radiobutton

test image

example-systray

test image test image test image

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