Go to file
Pietro Gagliardi 09db0bffff Re-added the note about MinGW-w64 to the README. It got lost in the rewrite migration. 2014-09-26 21:19:30 -04:00
examples/widgetgallery Added a widget gallery example. 2014-08-30 23:32:12 -04:00
mergeback ...in with the new. 2014-08-30 23:02:02 -04:00
proposals ...in with the new. 2014-08-30 23:02:02 -04:00
LICENSE Added license and README. 2014-02-17 18:38:50 -05:00
README.md Re-added the note about MinGW-w64 to the README. It got lost in the rewrite migration. 2014-09-26 21:19:30 -04:00
area.go ...in with the new. 2014-08-30 23:02:02 -04:00
area_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
area_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
area_unix.go Removed some debugging spiel. 2014-09-02 09:05:34 -04:00
area_windows.c Fixed a typo in a comment. 2014-09-19 18:33:11 -04:00
area_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
assortednotes.md Out with the old... 2014-08-30 23:01:08 -04:00
basicctrls.go ...in with the new. 2014-08-30 23:02:02 -04:00
basicctrls_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
basicctrls_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
button_darwin.go Removed some debugging spiel. 2014-09-02 09:05:34 -04:00
button_unix.go Removed some debugging spiel. 2014-09-02 09:05:34 -04:00
button_windows.go Removed some debugging spiel. 2014-09-02 09:05:34 -04:00
checkbox_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
checkbox_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
checkbox_windows.go Removed some debugging spiel. 2014-09-02 09:05:34 -04:00
comctl32_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
common_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
common_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
common_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
common_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
common_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
compatibility.md More compatibility.md entries. 2014-08-16 18:34:35 -04:00
container.go ...in with the new. 2014-08-30 23:02:02 -04:00
container_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
container_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
container_unix.c ...in with the new. 2014-08-30 23:02:02 -04:00
container_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
container_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
container_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
control.go ...in with the new. 2014-08-30 23:02:02 -04:00
control_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
control_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
control_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
control_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
control_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
controlbase.sh ...in with the new. 2014-08-30 23:02:02 -04:00
dialog.go ...in with the new. 2014-08-30 23:02:02 -04:00
dialog_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
dialog_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
dialog_unix.go Resolved TODO about OpenFile() on GTK+ returning NULL. 2014-08-31 19:07:55 -04:00
dialog_windows.c Resolved TODO about OpenFile() on GTK+ returning NULL. 2014-08-31 19:07:55 -04:00
dialog_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
doc.go ...in with the new. 2014-08-30 23:02:02 -04:00
events_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
events_notdarwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
future Fixed a dumb bug in Grid that prevented the scrollbars in Area from showing up. 2014-09-03 21:31:38 -04:00
grid.go Fixed a dumb bug in Grid that prevented the scrollbars in Area from showing up. 2014-09-03 21:31:38 -04:00
group_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
group_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
group_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
gtk_unix.h ...in with the new. 2014-08-30 23:02:02 -04:00
imagelist.go ...in with the new. 2014-08-30 23:02:02 -04:00
imagelist_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
imagelist_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
imagelist_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
imagelist_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
imagelist_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
init_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
label_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
label_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
label_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
objc_darwin.h ...in with the new. 2014-08-30 23:02:02 -04:00
prevlib.tar Out with the old... 2014-08-30 23:01:08 -04:00
scrapped ...in with the new. 2014-08-30 23:02:02 -04:00
simplegrid.go Renamed grid.go. 2014-08-31 13:03:35 -04:00
stack.go Added initial implementation of GtkGrid-style Grid. 2014-08-31 18:59:55 -04:00
tab_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
tab_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
tab_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
tab_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
tab_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
table.go ...in with the new. 2014-08-30 23:02:02 -04:00
table_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
table_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
table_unix.c ...in with the new. 2014-08-30 23:02:02 -04:00
table_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
table_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
table_windows.go Removed more debugging spiel. 2014-09-02 09:07:06 -04:00
textfield_darwin.go Removed some debugging spiel. 2014-09-02 09:05:34 -04:00
textfield_unix.go Removed some debugging spiel. 2014-09-02 09:05:34 -04:00
textfield_windows.go Removed some debugging spiel. 2014-09-02 09:05:34 -04:00
uitask.go ...in with the new. 2014-08-30 23:02:02 -04:00
uitask_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
uitask_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
uitask_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
uitask_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
uitask_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
warningpopover_darwin.m More TODOs. 2014-09-23 14:53:03 -04:00
winapi_windows.h ...in with the new. 2014-08-30 23:02:02 -04:00
window.go Changed Grid to SimpleGrid in preparation for a better Grid. 2014-08-31 13:02:47 -04:00
window_darwin.go ...in with the new. 2014-08-30 23:02:02 -04:00
window_darwin.m ...in with the new. 2014-08-30 23:02:02 -04:00
window_unix.go ...in with the new. 2014-08-30 23:02:02 -04:00
window_windows.c ...in with the new. 2014-08-30 23:02:02 -04:00
window_windows.go ...in with the new. 2014-08-30 23:02:02 -04:00
yz_icons_test.go ...in with the new. 2014-08-30 23:02:02 -04:00
yz_repaint_test.go Set up a replacement for the new Grid test. It doesn't work, but now we can more easily fix it. 2014-09-03 18:36:33 -04:00
zz_test.go Set up a replacement for the new Grid test. It doesn't work, but now we can more easily fix it. 2014-09-03 18:36:33 -04:00

README.md

ui: platform-native GUI library for Go

Feature requests wanted! (Really; IDK what to add next!)

This is a library that aims to provide simple GUI software development in Go. It runs on/requires:

  • Windows: cgo, MinGW-w64 (see note below), Windows XP and newer
    • Note: Notice I specifically said MinGW-w64 here. This is important: regular MinGW is missing various recent header files which package ui uses, and thus won't build with it. Make sure your MinGW is that version instead. If you're running on Windows and are not sure what to download, get the mingw-builds distribution.
  • Mac OS X: cgo, Mac OS X 10.7 and newer
  • other Unixes: cgo, GTK+ 3.4 and newer

Go 1.3 is required. Note that vanilla 1.3 has a bug in Mac OS X cgo; the next release will fix it.

(this README needs some work)

Be sure to have at least each outermost Window escaping to the heap until a good resolution to Go issue 8310 comes out.

prevlib.tar contains the previous version of the library as it stood when I restarted; don't bother using it.

Documentation

The in-code documentation needs improvement. I have written a tutorial in the Wiki at right; page Getting Started.

Updates

3 September 2014
The new GtkGrid-style Grid is now implemented! See its documentation for more details. Also, debugging spew has been removed.

31 August 2014
Grid is now renamed SimpleGrid in preparation for implementing a more GtkGrid-like Grid. Mind the change.

Screenshots

The example widget gallery on GTK+ in the Adwaita theme (3.13/master):

widget gallery example