Skip to content

v0.2.0

Compare
Choose a tag to compare
@ianprime0509 ianprime0509 released this 05 Jul 05:39
· 46 commits to main since this release

Full Changelog: v0.1.1...v0.2.0

This release contains various enhancements, in particular:

  • Zig 0.13.0 support
  • Definitions of properties on object types using gobject.ext.defineProperty
  • Definitions of boxed types using gobject.ext.defineBoxed
  • Definitions of enum types using gobject.ext.defineEnum
  • Definitions of flags types using gobject.ext.defineFlags
  • Fixes for various extension functionality, particularly surrounding gobject.ext.Value

Bindings are provided for the GNOME 45 and 46 SDKs; the GNOME 44 SDK is no longer supported, so no bindings for it are provided.

There are several breaking changes in this release, most notably:

  • The module naming conventions have changed: instead of gtk-4.0, use gtk4, etc.
  • gobject.ext.defineType has been renamed to gobject.ext.defineClass (the former name would have been confusing now that several other GObject types can be defined)
  • Signal connection functions have been moved: instead of gobject.Object.connectSomething, use gobject.Object.signals.something.connect, etc.