Registry / other / mattn-go-gtk

mattn-go-gtk

JSON →
library0.0.0-20240119050609-48574e312facgogounverified

Go bindings for GTK, providing a way to create graphical user interfaces in Go.

go get github.com/mattn/go-gtk
INSTALL
IMPORT
SIG · MATTN-GO-GTK
M
mattn-go-gtk
othergov0.0.0-20240119050609-48574e312fac
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gtk
github.com/mattn/go-gtk

Initialize GTK, create a window, and start the main loop.

package main import ( "github.com/mattn/go-gtk/gtk" ) func main() { gtk.Init(nil) window := gtk.NewWindow(gtk.WINDOW_TOPLEVEL) window.Show() gtk.Main() }
Debug
Known issues
gotchaRequires GTK development libraries to be installed on the system.
fix
Install GTK (e.g., libgtk-3-dev on Debian/Ubuntu) before building.
affects: all
Upgrade
Version history
0.0.0-20240119050609-48574e312faclatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mattn-go-gtk — go get mattn-go-gtk · libregistry