#puregotk now supports #GNOME 50! Sessions is already updated to use it too :) Having a speedy bindings generator and simple pipeline really makes all the difference here, took just under an hour for updating, verification, using it in a different app, tagging a release, using it in Flatpak,

#puregotk now supports #GNOME 50! Sessions is already updated to use it too :) Having a speedy bindings generator and simple pipeline really makes all the difference here, took just under an hour for updating, verification, using it in a different app, tagging a release, using it in Flatpak, looking for regressions etc.

https://codeberg.org/puregotk/puregotk/pulls/45

Update to GNOME 50

This bumps the included GIR files, the generated files, and the examples to GNOME 50 and the latest associated library versions (GTK, Adwaita etc.). It's a bit hard to demo this, but here is the best thing I could come up with - the examples all run well on the latest SDK: ![The Go module e...

Codeberg.org
Kind of neat how well #GNOME apps fit in on macOS :) Since @nila added support for macOS to #puregotk in https://codeberg.org/puregotk/puregotk/pulls/43 this week I thought I’d give it a shot on my new MacBook Neo - and it works really well. Cross-compilation from Linux to macOS was super easy thanks to purego, no cross-compiler needed, just `GOOS=darwin GOARCH=arm64`. Plus, discovered that macOS’s arm64 library paths are different!
#puregotk has moved to #Codeberg ! I've just opened the first PR to it: https://codeberg.org/puregotk/puregotk/pulls/42 Gosh it is nice to have a usable signal/noise ratio on a forge again ...

Fix examples after move to Cod...
Fix examples after move to Codeberg

While testing the Flatpak builds after the Codeberg move, I noticed that `flatpak-builder` was failing with "File exists" errors for all examples that use `go replace` to build against the locally checked out puregotk code. During the move to Codeberg, this: ```go module github.com/jwijenb...

Codeberg.org

#puregotk has moved to #Codeberg! I've just opened the first PR to it: https://codeberg.org/puregotk/puregotk/pulls/42

Gosh it is nice to have a usable signal/noise ratio on a forge again ...

Fix examples after move to Codeberg

While testing the Flatpak builds after the Codeberg move, I noticed that `flatpak-builder` was failing with "File exists" errors for all examples that use `go replace` to build against the locally checked out puregotk code. During the move to Codeberg, this: ```go module github.com/jwijenb...

Codeberg.org
#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

Fix string conversion when cal...
Fix string conversion when calling Go callbacks from C by pojntfx · Pull Request #3 · jwijenbergh/purego

This is a follow-up PR to jwijenbergh/puregotk#36 - I didn't check if this could be fixed directly in purego, but turns out it can. It looks like there simply was a missing continue in the swit...

GitHub

#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

Fix string conversion when calling Go callbacks from C by pojntfx · Pull Request #3 · jwijenbergh/purego

This is a follow-up PR to jwijenbergh/puregotk#36 - I didn't check if this could be fixed directly in purego, but turns out it can. It looks like there simply was a missing continue in the swit...

GitHub
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 f...
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?
175937 – [GTK] gtk_builder_get_type_from_name doesn't work with WebKitWebView

WebKit Bugzilla