The new release of gtk-rs recommends upgrading to GTK4 and introduces improvements such as a new macro for using properties in glib::Object subclasses, direct conversions to glib::Value and glib::Variant, and support for subclassing gdk_pixbuf types. Other changes include new convenience traits, code generation improvements,

13m read time From gtk-rs.org
Post cover image
Table of contents
Increase of the minimum supported Rust version (MSRV) §New #[properties] macro to make using properties in glib::Object subclasses simpler §Direct conversions to glib::Value and glib::Variant via From §gdk_pixbuf subclassing support §New glib::CastNone convenience trait §New glib::function_name! macro §glib::GStr , glib::List , glib::PtrSlice , glib::Slice , glib::StrV and related native GLib types §Various code generation improvements §New glib::Object constructors §gio::Application::run() returns an ExitCode §GTK4 4.10 API additions §Add Blueprint UI definition support §Better mapping of C ownership transfer §Spawning of blocking functions on the glib::MainContext §

Sort: