Go to file
Pietro Gagliardi b435594adb Windows bugfix. 2018-02-17 21:47:49 -05:00
LICENSE Added license and README. 2014-02-17 18:38:50 -05:00
README.md Windows bugfix. 2018-02-17 21:47:49 -05:00
TODO.md More TODOs. 2016-01-06 20:43:32 -05:00
area.go Added Area.ScrollTo(). 2016-01-24 21:50:59 -05:00
areahandler.go More drawing work. 2015-12-20 12:24:10 -05:00
bindTODO Added a TODO for binding support. 2016-04-14 17:13:41 -04:00
box.go Added Box. Phew! Now to port over the libui test program... 2015-12-12 20:15:14 -05:00
button.go Wrote up Area for real this time. 2015-12-19 19:33:06 -05:00
checkbox.go Added uiCombobox. 2015-12-12 16:18:58 -05:00
combobox.go Switched OS X to use statically linked libui. 2016-05-29 05:05:09 -04:00
control.go Added Button and Checkbox. 2015-12-12 15:52:43 -05:00
datetimepicker.go Added DateTimePicker. 2015-12-12 18:59:01 -05:00
draw.go Removed small caps from the font descriptor. It will be made a setting on TextLayout instead. 2016-04-15 14:02:24 -04:00
dummy_windows.cpp Set up the Windows builds. Almost working! 2016-06-05 18:49:53 -04:00
entry.go More TODOs. 2015-12-13 02:26:26 -05:00
fontbutton.go More TODOs. 2016-04-20 14:18:56 -04:00
group.go Added Tab. That just leaves Box... 2015-12-12 19:52:22 -05:00
label.go Added Label. 2015-12-12 16:59:57 -05:00
libui_darwin_amd64.a Windows bugfix. 2018-02-17 21:47:49 -05:00
libui_linux_386.a Updated everything to alpha3.1. 2016-06-05 18:11:26 -04:00
libui_linux_amd64.a Windows bugfix. 2018-02-17 21:47:49 -05:00
libui_windows_386.a Windows bugfix. 2018-02-17 21:47:49 -05:00
libui_windows_386.res.o Set up the Windows builds. Almost working! 2016-06-05 18:49:53 -04:00
libui_windows_amd64.a Windows bugfix. 2018-02-17 21:47:49 -05:00
libui_windows_amd64.res.o Updated everything to alpha3.1. 2016-06-05 18:11:26 -04:00
link_darwin_amd64.go Fixed Linux static linking. 2016-05-29 23:44:09 -04:00
link_linux_386.go Fixed Linux static linking. 2016-05-29 23:44:09 -04:00
link_linux_amd64.go Fixed Linux static linking. 2016-05-29 23:44:09 -04:00
link_windows_386.go Rename static_windows_*.o files to .syso 2016-06-19 18:14:23 +02:00
link_windows_amd64.go Rename static_windows_*.o files to .syso 2016-06-19 18:14:23 +02:00
main.go Re-enabled @executable_path and OS X linking now that the OS X build is fixed. Now I just have to figure out why it's not linking... 2016-01-06 20:24:31 -05:00
progressbar.go Added ProgressBar. 2015-12-12 18:44:35 -05:00
radiobuttons.go Updated the uiRadioButtons documentation based on the latest change in libui, which gets rid of a few quirks. 2016-05-21 02:02:25 -04:00
separator.go Added Separator. 2015-12-12 18:48:43 -05:00
slider.go Documented the new limit swapping of uiSlider and uiSpinbox. 2016-05-22 20:13:35 -04:00
spinbox.go Documented the new limit swapping of uiSlider and uiSpinbox. 2016-05-22 20:13:35 -04:00
static.manifest Set up the Windows builds. Almost working! 2016-06-05 18:49:53 -04:00
static.rc Set up the Windows builds. Almost working! 2016-06-05 18:49:53 -04:00
static_windows_386.syso Rename static_windows_*.o files to .syso 2016-06-19 18:14:23 +02:00
static_windows_amd64.syso Rename static_windows_*.o files to .syso 2016-06-19 18:14:23 +02:00
stddialogs.go Safer nil pointer handling in stddialogs 2016-06-10 17:07:15 +03:00
tab.go Fixed a latent bug in Tab.InsertAt() where inserted controls are appended to t.children, causing issues during Tab.Destroy(). 2015-12-12 23:53:27 -05:00
ui.h Updated everything to alpha3.1. 2016-06-05 18:11:26 -04:00
util.go More C.CBytes() preparatory work. 2016-04-12 23:27:29 -04:00
window.go Added Button and Checkbox. 2015-12-12 15:52:43 -05:00
zy_page1_test.go Ported the test page 1 from libui. 2015-12-12 21:44:50 -05:00
zy_page2_test.go Ported the test page 1 from libui. 2015-12-12 21:44:50 -05:00
zz_test.go Ported the test page 1 from libui. 2015-12-12 21:44:50 -05:00

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

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