#puregotk β Public Fediverse posts
Live and recent posts from across the Fediverse tagged #puregotk, aggregated by home.social.
-
Some neat #puregotk & #GStreamer hacks I've been exploring: #Multiplex, which allows you to do torrent watchparties with your friends & share the positions, playback etc. P2P, now has an initial version that uses GStreamer to play back the video in the app itself! No more need for MPV :)
Bonus: Subtitles work better now, too!
-
New thing: Initial support for #GStreamer in #puregotk, completely CGo-free!
-
Finally managed to push those two big #puregotk PRs I've been working on!
1) fixes a bug with `throws` generation: https://codeberg.org/puregotk/puregotk/pulls/46
2) makes the generation 15x faster: https://codeberg.org/puregotk/puregotk/pulls/47That should make it that much easier to generate new bindings or even generate them during the build, e.g. for something like #p2panda
-
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?
-
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 my own Go-based GObject library. Initialising them in `main` (yes, in a library!) fixed it there!
-
New progress on the #puregotk #GObject introspection things I'm working on in #Go. It's super early, but I added preliminary support for generated getters/setters for properties. No more manual value setup & `SetProperty` calls required, just a simple `SetPropertyX` call. We're getting closer and closer to more readable code here with this IMHO, GJS on the right for comparison!