Releases: gtk-rs/gtk4-rs
Releases · gtk-rs/gtk4-rs
0.4.8
Bilal Elmoussaoui:
Ian Douglas Scott:
- gtk4: Use Key in accelerator_ function bindings
- gdk4-x11: Make assert_initialized_main_thread a no-op
- gdk4-x11: Make X11Display::set_program_class take &self
Sebastian Dröge:
0.4.7
Bilal Elmoussaoui:
- gtk: Disable Builder pattern for Printer
- gtk: Disable Builder pattern for PrintJob
- gtk: Disable AppChoserDialog builder
- Disable Builder/Default for TreeListModel
- Add is method to fundamental types
- Add type_ function to other fundamental types
- gdk: Implement Value traits for Key
Jason Francis:
- gtk: Pass an object pointer into rust builder closures instead of weak ref
- gtk4: Add runtime type checks for template children
- gtk4-macros: Fix #[template(string)] and add a test for it
- gtk4-macros: Avoid copying the XML when using #[template(file)]
- gtk4: Add a #[gtk::test] attribute for unit tests
- gtk4-macros: Add failure tests
- gtk4-macros: Allow async template callbacks
- gtk4-macros: Verify missing template children with #[template(string)]
- gtk4-macros: Warn on possible missing #[template_child] attribute (nightly only
- gtk4: Add convenience traits for binding template callbacks to classes
Sebastian Dröge:
0.4.6
Bilal Elmoussaoui (2):
Auto generate async functions with callbacks
Add MainContext checks to manual async functions
Sebastian Dröge (8):
Update gir-files
Update gir
Remove unused `gdk::Texture` import
Remove unnecessary `Send` bounds from GIO-style async functions
gsk: Trust return value nullability again
Regenerate with latest gir
Update versions to 0.4.6
gtk/gdk: Depend on glib 0.15.3 for `ThreadGuard` API
0.4.5
0.4.4
API changes:
- Removal of the useless
gsk::RoundedRect::init
&gsk::RoundedRect::init_from_rect
. Usegsk::RoundedRect::new
andgsk::RoundedRect::from_rect
respectively instead. - Type parameter to impl trait for manually implemented functions.
gtk::TextIter::child_anchor
andgtk::TextIter::paintable
are now returning an Option instead of T, those were just wrong before.- Add mutators to
gdk::Rectangle
and make it possible to convert between it andpango::Rectangle
/cairo::Rectangle
0.4.3
0.4.2
0.4.1
CI: grab an svg variant of the logo
0.3.1
CI: add 0.3 release This should fix the too old release we get in the 0.3 docs
0.3.0 release
The release includes GTK 4.4 API changes support