Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upHome
Welcome to the gotk3 wiki!
Installation
gotk3 currently requires GTK 3.6-3.16, GLib 2.36-2.40, and Cairo 1.10 or 1.12. A recent Go (1.3 or newer) is also required.
The gtk package requires the cairo, glib, and gdk packages as
dependencies, so only one go get is necessary for complete
installation.
To install gotk3 targeting the latest GTK version:
$ go get github.com/gotk3/gotk3/gtkNOTE: The build process uses the tagging scheme gtk_MAJOR_MINOR to specify a
build targeting any particular GTK version (for example, gtk_3_10).
Building with no tags defaults to targeting the latest supported GTK
release (3.16).
To install gotk3 targeting your version of GTK:
$ go get -tags gtk_X_XX github.com/gotk3/gotk3/gtkTo rebuild the package for another GTK version:
$ go install -tags gtk_X_XX github.com/gotk3/gotk3/gtk