Go to file
emersion 7a771a796f Merge pull request #2 from robbiev/radioselect
radio button selection support
2016-07-24 18:10:24 +02:00
Compatibility.md Updated the compatibility document. 2015-12-17 16:17:03 -05:00
LICENSE Added license and README. 2014-02-17 18:38:50 -05:00
README.md Forgot the important part. 2016-06-05 18:56:15 -04:00
TODO.md More TODOs. 2016-01-06 20:43:32 -05:00
area.go Adds compatibility for latest libui, adds New{Password,Search}Entry 2016-06-14 08:11:07 +02: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 Adds compatibility for latest libui, adds New{Password,Search}Entry 2016-06-14 08:11:07 +02: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 Adds compatibility for latest libui, adds New{Password,Search}Entry 2016-06-14 08:11:07 +02: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 Adds compatibility for latest libui, adds New{Password,Search}Entry 2016-06-14 08:11:07 +02:00
dummy_windows.cpp Set up the Windows builds. Almost working! 2016-06-05 18:49:53 -04:00
entry.go Adds compatibility for latest libui, adds New{Password,Search}Entry 2016-06-14 08:11:07 +02:00
fontbutton.go More TODOs. 2016-04-20 14:18:56 -04:00
form.go Adds Form and Grid 2016-06-14 11:43:00 +02:00
grid.go Adds Form and Grid 2016-06-14 11:43:00 +02: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 Updated everything to alpha3.1. 2016-06-05 18:11:26 -04:00
libui_linux_386.a Updated everything to alpha3.1. 2016-06-05 18:11:26 -04:00
libui_linux_amd64.a Adds Window.SetPosition() and Window.Center() 2016-07-19 23:14:17 +02:00
libui_windows_386.a Updated everything to alpha3.1. 2016-06-05 18:11:26 -04: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 Updated everything to alpha3.1. 2016-06-05 18:11:26 -04: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 Set up the Windows builds. Almost working! 2016-06-05 18:49:53 -04:00
link_windows_amd64.go Set up the Windows builds. Almost working! 2016-06-05 18:49:53 -04: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 fix a memory leak 2016-07-24 17:08:31 +01:00
separator.go Added Separator. 2015-12-12 18:48:43 -05:00
slider.go Adds compatibility for latest libui, adds New{Password,Search}Entry 2016-06-14 08:11:07 +02:00
spinbox.go Adds compatibility for latest libui, adds New{Password,Search}Entry 2016-06-14 08:11:07 +02: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.o Set up the Windows builds. Almost working! 2016-06-05 18:49:53 -04:00
static_windows_amd64.o Set up the Windows builds. Almost working! 2016-06-05 18:49:53 -04:00
stddialogs.go Safer nil pointer handling in stddialogs 2016-06-10 17:07:15 +03:00
tab.go Adds compatibility for latest libui, adds New{Password,Search}Entry 2016-06-14 08:11:07 +02:00
ui.h Adds Window.SetPosition() and Window.Center() 2016-07-19 23:14:17 +02:00
util.go More C.CBytes() preparatory work. 2016-04-12 23:27:29 -04:00
window.go Adds Window.SetPosition() and Window.Center() 2016-07-19 23:14:17 +02: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 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