#puregotk
#puregotk (or, as it turns out, purego actually) now supports passing C strings to Go, which makes the #gtk dialog responses work!

https://github.com/jwijenbergh/purego/pull/3#issuecomment-3808732476
January 28, 2026 at 3:20 AM
Submitted a last-minute talk to #FOSDEM this year via the new `/dev/random` track: "Writing GTK Component Libraries in Go Instead of C with puregotk"!
January 10, 2026 at 9:40 AM
It's basically a quick overview of how you can use some of my recent patches to `puregotk` to easily create and share your custom GTK components between your projects and with other people without having to touch C (just Go!),
January 10, 2026 at 9:40 AM
Submitted a last-minute talk to #fosdem this year via the new `/dev/random` track: "Writing GTK Component Libraries in Go Instead of C with puregotk"!

It's basically a quick overview of how you can use some of my recent patches to `puregotk` to easily create and share your custom GTK components […]
Original post on mastodon.social
mastodon.social
January 10, 2026 at 9:37 AM
@deobald @jorge Hahaha. That is so strangely specific :P

My biggest new years resolution is to do tons more desktop dev this year (it's just so much fun) and it's been plenty of fun hacking on puregotk, so I hope there will be more of that this year!
January 7, 2026 at 8:15 PM
a small army of distributed systems nerds will make #localfirst on the desktop happen, since every large backend system is always just a big poorly-specified database anyway. puregotk reduces cycle time without forcing people into a dynamic language like javascript or python.
January 7, 2026 at 8:09 PM
Update: Basic Go bindings to the EDS API now work via GIR but damn I needed to add a bunch of ugly hacks to `puregotk` to get it to work ...
January 4, 2026 at 4:16 PM
Another #puregotk #Go #GTK bindings fix: Callbacks that contain strings (think `Settings.ConnectChanged`, `AdwDialog.ConnectResponse`) now correctly convert them from C strings to Go strings: https://github.com/pojntfx/puregotk/tree/fix-c-to-go-calls

Will cherry-pick & PR tomorrow.
GitHub - pojntfx/puregotk at fix-c-to-go-calls
Autogenerated GTK4+Adwaita bindings for Go leveraging ebitengine/purego - GitHub - pojntfx/puregotk at fix-c-to-go-calls
github.com
December 12, 2025 at 9:48 AM
Managed to get #WebKitGTK to work with #puregotk . Just needed to add a small tweak since it was mixing up `gio.Byte` with `[]byte`. I think that makes it one of the first full-featured, CGo-free WebView libraries for Go?
December 12, 2025 at 9:48 AM
Another #puregotk #go #gtk bindings fix: Callbacks that contain strings (think `Settings.ConnectChanged`, `AdwDialog.ConnectResponse`) now correctly convert them from C strings to Go strings: https://github.com/pojntfx/puregotk/tree/fix-c-to-go-calls

Will cherry-pick & PR tomorrow.
December 12, 2025 at 11:18 AM
Managed to get #webkitgtk to work with #puregotk. Just needed to add a small tweak since it was mixing up `gio.Byte` with `[]byte`. I think that makes it one of the first full-featured, CGo-free WebView libraries for Go?
December 12, 2025 at 11:17 AM
Ha, ran into a #webkitgtk quirk today while extending the #puregotk generator to work with it: https://bugs.webkit.org/show_bug.cgi?id=175937

Workaround for now: https://github.com/pojntfx/ledger/commit/5a1608f4501f39500f0faf004d362b7b6cbd26ae

Funnily enough I ran into this exact problem with […]
Original post on mastodon.social
mastodon.social
December 12, 2025 at 11:58 AM
https://github.com/jwijenbergh/puregotk/pull/34

Aaaand here we go! #puregotk #Go #GNOME binding examples, including subclassing and how to create a GObject library with Go (so you can distribute custom GTK widgets written in Go to C, JS, Vala, Python etc. apps)!
Add examples for subclassing, GObject libraries, and Flatpak/Meson by pojntfx · Pull Request #34 · jwijenbergh/puregotk
This adds more examples for the more complex features and use cases (subclasses, building GObject libraries) for puregotk and common patterns (usage with Meson vs regular Go, Flatpak, i18n, Bluepri...
github.com
December 10, 2025 at 9:53 AM
https://github.com/jwijenbergh/puregotk/pull/34

Aaaand here we go! #puregotk #go #gnome binding examples, including subclassing and how to create a GObject library with Go (so you can distribute custom GTK widgets written in Go to C, JS, Vala, Python etc. apps)!
Add examples for subclassing, GObject libraries, and Flatpak/Meson by pojntfx · Pull Request #34 · jwijenbergh/puregotk
This adds more examples for the more complex features and use cases (subclasses, building GObject libraries) for puregotk and common patterns (usage with Meson vs regular Go, Flatpak, i18n, Bluepri...
github.com
December 10, 2025 at 9:51 AM
Since it is getting late I will probably finish it tomorrow, but it's getting easier and easier for people to try now I think :)

https://github.com/pojntfx/puregotk/tree/add-examples/examples/mylib-gtk-meson
puregotk/examples/mylib-gtk-meson at add-examples · pojntfx/puregotk
Autogenerated GTK4+Adwaita bindings for Go leveraging ebitengine/purego - pojntfx/puregotk
github.com
December 9, 2025 at 7:06 AM
One or two days left until the next #puregotk #Go #GNOME upstreaming PR. I've imported my examples for how to do subclassing with Golang, creating a custom GObject introspection-compatible library and so on into the upstream repo, and I've started writing documentation.
December 9, 2025 at 7:05 AM
One or two days left until the next #puregotk #go #gnome upstreaming PR. I've imported my examples for how to do subclassing, creating a custom GObject introspection-compatible library and so on into the upstream repo, and I've started writing documentation […]

[Original post on mastodon.social]
December 9, 2025 at 6:59 AM
New, soon-to-be upstreamed #puregotk #GNOME work today: A Meson-free/pure Go & Flatpak environment for building GNOME apps in Go as an alternative to the Meson one! Now I just have to rename them, git-subtree-split them out of the repo,
November 30, 2025 at 10:19 AM
New, soon-to-be upstreamed #puregotk #gnome work today: A Meson-free/pure Go & Flatpak environment for building GNOME apps in Go as an alternative to the Meson one! Now I just have to rename them, git-subtree-split them out of the repo, and upstream it to the bindings and then these can become […]
Original post on mastodon.social
mastodon.social
November 30, 2025 at 10:14 AM
New #gogettext (my #puregotk -based gettext bindings for Go) release! v0.2.0 now supports `BindI18n` and `dgettext` to allow scoping gettext translation domains in a more fine-grained way.
November 28, 2025 at 8:49 AM
New #gogettext (my #puregotk -based gettext bindings for Go) release! v0.2.0 now supports `BindI18n` and `dgettext` to allow scoping gettext translation domains in a more fine-grained way. This allows using two different translation domains in more complex scenarios, such as a Go GObject library […]
Original post on mastodon.social
mastodon.social
November 28, 2025 at 8:44 AM
New #puregotk #Go #GNOME PR for today: Support for importing GTK GObject libraries built in Go via Meson from Go GTK applications, out of the box!

https://github.com/jwijenbergh/puregotk/pull/33
Add Flatpak application library path to defaults by pojntfx · Pull Request #33 · jwijenbergh/puregotk
When you're trying to use a puregotk-based GObject library in a Flatpak as a dependency based on the current main branch like so: { "id": "com.pojtinger.felicitas.SenbaraGnomeN...
github.com
November 27, 2025 at 6:37 AM
New #puregotk #gnome PR for today: Support for importing GTK GObject libraries built in Go via Meson from Go GTK applications, out of the box!

https://github.com/jwijenbergh/puregotk/pull/33
Add Flatpak application library path to defaults by pojntfx · Pull Request #33 · jwijenbergh/puregotk
When you're trying to use a puregotk-based GObject library in a Flatpak as a dependency based on the current main branch like so: { "id": "com.pojtinger.felicitas.SenbaraGnomeN...
github.com
November 27, 2025 at 6:31 AM