Oleg Yamnikov edited this page Apr 18, 2016 · 8 revisions

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/gtk

NOTE: 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/gtk

To rebuild the package for another GTK version:

$ go install -tags gtk_X_XX github.com/gotk3/gotk3/gtk

Installation instructions

Windows

OSX

Linux

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.