go-gtk

go-gtk

GTK4 from pure Go.

Reference GitHub

What is go-gtk?

go-gtk drives GTK4 from Go with CGO_ENABLED=0. It is the Linux half of the native-toolkit bridge go-widgets paints through, the sibling of go-macos/objc on macOS and go-mswin on Windows: the library dlopen()s libgtk-4 through purego and calls it directly, so a Go program gets real GTK widgets, real input methods and the desktop's own accessibility without a C toolchain anywhere in the build.

Packages

1 module(s) in this organisation.

G
gtk4
GTK4 bound through purego: widgets, windows, events and the main loop, with no cgo.