Is there a gui library for Go, like Gtk+ or similar, which can be used to build statically linked executables ?

598 views
Skip to first unread message

Serge Hulne

unread,
Aug 2, 2020, 11:53:32 AM8/2/20
to golang-nuts
Is there a gui library for Go, like Gtk+ or similar, which will produce a statically linked executable ?

The aim is to create apps which do not require the user to install GTK or any extra libraries in order to use the app.


smart dev

unread,
Aug 2, 2020, 5:09:45 PM8/2/20
to golang-nuts
Yes, you can use go-astilectron. (electron + go)

jake...@gmail.com

unread,
Aug 2, 2020, 5:24:20 PM8/2/20
to golang-nuts
There is currently no 'clear choice' for GUI in go. It will depend on you needs. Some to look into:

Serge Hulne

unread,
Aug 2, 2020, 5:29:16 PM8/2/20
to golang-nuts
Thanks!

Serge Hulne

unread,
Aug 2, 2020, 5:38:28 PM8/2/20
to golang-nuts
Fantastic!

I'll have a great time trying them out!

Thanks!

ma...@eliasnaur.com

unread,
Aug 2, 2020, 5:43:56 PM8/2/20
to golang-nuts
On Sunday, 2 August 2020 at 23:24:20 UTC+2 jake...@gmail.com wrote:
There is currently no 'clear choice' for GUI in go. It will depend on you needs. Some to look into:


There's also https://fyne.io.

Elias

Serge Hulne

unread,
Sep 11, 2020, 5:58:27 PM9/11/20
to golang-nuts
I had a look again at "Fyne". It seems to have improved a lot lately, in particular the default size for fonts etc seems much better!
Thanks again for the suggestion.

Kent Sandvik

unread,
Sep 11, 2020, 7:27:07 PM9/11/20
to Serge Hulne, golang-nuts
I tested fyne on my Mac, hey didn't crash, that's a big plus with these cross-platform GUI frameworks. The Look&Feel is somewhat different but with some tweaks it could be made manageable. But for any large text-based application with text styling and so forth  I would use Electron or a similar browser-engine framework. --Kent

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/729a782e-d87f-4ca9-9a08-740fd758d2a6n%40googlegroups.com.

Philip Chapman

unread,
Sep 11, 2020, 8:05:11 PM9/11/20
to Kent Sandvik, Serge Hulne, golang-nuts
There is a gtk binding, but I'm not sure if it's fully cross platform. 


Stephen Illingworth

unread,
Sep 13, 2020, 9:54:22 AM9/13/20
to golang-nuts
I've been using the Go bindings for Dear Imgui with great success.

Reply all
Reply to author
Forward
0 new messages