Platform-native GUI library for Go.
Go C C++
Latest commit 2dde2a7 Jun 19, 2016 @andlabs committed on GitHub Merge pull request #154 from ProtonMail/syso
Rename static_windows_*.o files to .syso
Permalink
Failed to load latest commit information.
Compatibility.md Updated the compatibility document. Dec 17, 2015
LICENSE Added license and README. Feb 17, 2014
README.md Forgot the important part. Jun 5, 2016
TODO.md More TODOs. Jan 7, 2016
area.go Added Area.ScrollTo(). Jan 25, 2016
areahandler.go More drawing work. Dec 20, 2015
bindTODO Added a TODO for binding support. Apr 14, 2016
box.go Added Box. Phew! Now to port over the libui test program... Dec 13, 2015
button.go Wrote up Area for real this time. Dec 20, 2015
checkbox.go Added uiCombobox. Dec 12, 2015
combobox.go Switched OS X to use statically linked libui. May 29, 2016
control.go Added Button and Checkbox. Dec 12, 2015
datetimepicker.go Added DateTimePicker. Dec 12, 2015
draw.go Removed small caps from the font descriptor. It will be made a settin… Apr 15, 2016
dummy_windows.cpp Set up the Windows builds. Almost working! Jun 5, 2016
entry.go More TODOs. Dec 13, 2015
fontbutton.go More TODOs. Apr 20, 2016
group.go Added Tab. That just leaves Box... Dec 13, 2015
label.go Added Label. Dec 12, 2015
libui_darwin_amd64.a Updated everything to alpha3.1. Jun 5, 2016
libui_linux_386.a Updated everything to alpha3.1. Jun 5, 2016
libui_linux_amd64.a Updated everything to alpha3.1. Jun 5, 2016
libui_windows_386.a Updated everything to alpha3.1. Jun 5, 2016
libui_windows_386.res.o Set up the Windows builds. Almost working! Jun 5, 2016
libui_windows_amd64.a Updated everything to alpha3.1. Jun 5, 2016
libui_windows_amd64.res.o Updated everything to alpha3.1. Jun 5, 2016
link_darwin_amd64.go Fixed Linux static linking. May 30, 2016
link_linux_386.go Fixed Linux static linking. May 30, 2016
link_linux_amd64.go Fixed Linux static linking. May 30, 2016
link_windows_386.go Rename static_windows_*.o files to .syso Jun 19, 2016
link_windows_amd64.go Rename static_windows_*.o files to .syso Jun 19, 2016
main.go Re-enabled @executable_path and OS X linking now that the OS X build … Jan 7, 2016
progressbar.go Added ProgressBar. Dec 12, 2015
radiobuttons.go Updated the uiRadioButtons documentation based on the latest change i… May 21, 2016
separator.go Added Separator. Dec 12, 2015
slider.go Documented the new limit swapping of uiSlider and uiSpinbox. May 23, 2016
spinbox.go Documented the new limit swapping of uiSlider and uiSpinbox. May 23, 2016
static.manifest Set up the Windows builds. Almost working! Jun 5, 2016
static.rc Set up the Windows builds. Almost working! Jun 5, 2016
static_windows_386.syso Rename static_windows_*.o files to .syso Jun 19, 2016
static_windows_amd64.syso Rename static_windows_*.o files to .syso Jun 19, 2016
stddialogs.go Safer nil pointer handling in stddialogs Jun 10, 2016
tab.go Fixed a latent bug in Tab.InsertAt() where inserted controls are appe… Dec 13, 2015
ui.h Updated everything to alpha3.1. Jun 5, 2016
util.go More C.CBytes() preparatory work. Apr 13, 2016
window.go Added Button and Checkbox. Dec 12, 2015
zy_page1_test.go Ported the test page 1 from libui. Dec 13, 2015
zy_page2_test.go Ported the test page 1 from libui. Dec 13, 2015
zz_test.go Ported the test page 1 from libui. Dec 13, 2015

README.md

ui: platform-native GUI library for Go

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

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.

Updates