c90187046a | ||
---|---|---|
AAA_GOFILES | ||
BBB_GOFILES | ||
LICENSE | ||
README.md | ||
TODO.md | ||
box.go | ||
button.go | ||
checkbox.go | ||
combobox.go | ||
control.go | ||
datetimepicker.go | ||
draw.go | ||
dummy_windows.cpp | ||
editablecombobox.go | ||
entry.go | ||
form.go | ||
grid.go | ||
group.go | ||
image.go | ||
label.go | ||
libui_darwin_amd64.a | ||
libui_linux_386.a | ||
libui_linux_amd64.a | ||
libui_windows_386.a | ||
libui_windows_amd64.a | ||
link_darwin_amd64.go | ||
main.go | ||
multilineentry.go | ||
pkgui.c | ||
pkgui.h | ||
progressbar.go | ||
radiobuttons.go | ||
separator.go | ||
slider.go | ||
spinbox.go | ||
static.manifest | ||
stddialogs.go | ||
tab.go | ||
ui.h | ||
util.go | ||
window.go |
README.md
ui: platform-native GUI library for Go
Update 17 February 2018
I fixed the Enter+Escape crashing bug on Windows, and applied the resultant Alpha 3.5 binary release to package ui. However, build issues prevented a linux/386 binary from being made, so the API updates won't come yet. The next Alpha release, which will use semver and thus be called v0.4.0, should hopefully have no such issues. Sorry!
Update 5 June 2016: You can FINALLY go get
this package!
go get
should work out of the box for the following configurations:
- darwin/amd64
- linux/386
- linux/amd64
- windows/386
- windows/amd64
Everything is now fully static — no DLLs or shared objects anymore!
Note that these might not fully work right now, as the libui Alpha 3.1 API isn't fully implemented yet, and there might be residual binding problems. Hopefully none which require an Alpha 3.2...
New README
This is a library that aims to provide simple GUI software development in Go.
It is based on my libui, a simple cross-platform library that does the same thing, but written in C. You must include this library in your binary distributions.
It runs on/requires:
- Windows: cgo, Windows Vista SP2 with Platform Update and newer
- Mac OS X: cgo, Mac OS X 10.8 and newer
- other Unixes: cgo, GTK+ 3.10 and newer
- Debian, Ubuntu, etc.:
sudo apt-get install libgtk-3-dev
- Red Hat/Fedora, etc.:
sudo dnf install gtk3-devel
- TODO point out this is fine for most people but refer to distro docs if more control is needed, including cross-compilation instructions
- TODO clean this part up and put it in the appropriate place (maybe libui itself)
- Debian, Ubuntu, etc.:
It also requires Go 1.6 or newer (due to various bugs in cgo that were fixed only starting with 1.6).
(this README needs some work)
Installation
Documentation
The in-code documentation needs improvement. I have written a tutorial in the Wiki.