Skip to content

Releases: gtk-rs/gtk4-rs

0.6.6

10 Apr 21:34
Compare
Choose a tag to compare

Bilal Elmoussaoui:

  • gtk: Implement convenience traits for StringObject
  • gtk: Move gtk::StyleContext::add_provider_for_display & gtk::StyleContext::remove_provider_for_display functions
    outside of gtk::StyleContext type as it was deprecated in GTK 4.10 causing a wrong deprecation warning.
    Switch to gtk::style_context_add_provider_for_display & gtk::style_context_remove_provider_for_display instead.

Yuri Izmer:

#[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

27 Mar 09:30
Compare
Choose a tag to compare
Fabio Valentini:
      gtk4-macros: enable default features of syn

0.4.10

27 Mar 09:31
Compare
Choose a tag to compare
Fabio Valentini:
      gtk4-macros: enable default features of syn

0.6.5

23 Mar 15:24
Compare
Choose a tag to compare

0.6.5

Fabio Valentini:

  • gtk4-macros: enable default features of syn

0.6.4

17 Mar 12:05
Compare
Choose a tag to compare

Bilal Elmoussaoui:

  • Add missing version guard to gtk::AccessibleRole::ToggleButton which should unbreak the build for < 4.10

0.6.3

17 Mar 06:50
Compare
Choose a tag to compare

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

21 Feb 17:00
Compare
Choose a tag to compare

Bilal Elmoussaoui:

  • gtk: Add Accessible interface implementation support

Sebastian Dröge:

  • Add various new GTK 4.10 APIs

0.6.1

13 Feb 09:31
Compare
Choose a tag to compare

Julian Hofer:

  • Update book to 0.6
  • book: Fix clippy warnings

Mițca Dumitru:

  • book: Adapt to glib-build-tools breaking change

Sebastian Dröge:

  • gtk4: Use correct length for the StrV when passing to C in
    ConstraintLayout::add_constraint_from_description()

0.6.0.docs

09 Feb 07:28
Compare
Choose a tag to compare

Trigger the docs CI again after fixing them.

0.6.0

08 Feb 16:49
Compare
Choose a tag to compare

Bilal Elmoussaoui:

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>,
}