Releases: gtk-rs/gtk4-rs
Releases · gtk-rs/gtk4-rs
0.6.6
Bilal Elmoussaoui:
- gtk: Implement convenience traits for StringObject
- gtk: Move
gtk::StyleContext::add_provider_for_display
>k::StyleContext::remove_provider_for_display
functions
outside ofgtk::StyleContext
type as it was deprecated in GTK 4.10 causing a wrong deprecation warning.
Switch togtk::style_context_add_provider_for_display
>k::style_context_remove_provider_for_display
instead.
Yuri Izmer:
- gtk4-macros: Extend blueprint support to files
#[derive(Debug, Default, gtk::CompositeTemplate)]
#[template(file = "src/my_widget.blp")] // relative to the project directory
pub struct MyWidget {
#[template_child]
pub label: TemplateChild<gtk::Label>,
#[template_child(id = "my_label2")]
pub label2: gtk::TemplateChild<gtk::Label>,
}
0.5.6
0.4.10
0.6.5
0.6.4
Bilal Elmoussaoui:
- Add missing version guard to
gtk::AccessibleRole::ToggleButton
which should unbreak the build for < 4.10
0.6.3
Bilal Elmoussaoui:
- gtk/subclass: Adapt per Accessible transfer type changes
- Bump gtk 4.10 requirement & update bindings
Maximiliano:
- gdk: Add
rgba::TRANSPARENT
const
0.6.2
Bilal Elmoussaoui:
- gtk: Add Accessible interface implementation support
Sebastian Dröge:
- Add various new GTK 4.10 APIs
0.6.1
0.6.0.docs
Trigger the docs CI again after fixing them.
0.6.0
Bilal Elmoussaoui:
- Add support for the to be released
gtk::UriLauncher
- Improve the API of
gtk::WidgetExt::dispose_template
- Mention the failed to retrieve template child name
- Add a macos job
yuraiz:
#[derive(Debug, Default, gtk::CompositeTemplate)]
#[template(string = "
template MyWidget : Widget {
Label label {
label: 'foobar';
}
Label my_label2 {
label: 'foobaz';
}
}
")]
pub struct MyWidget {
#[template_child]
pub label: TemplateChild<gtk::Label>,
#[template_child(id = "my_label2")]
pub label2: gtk::TemplateChild<gtk::Label>,
}