Skip to content

Latest commit

 

History

History
105 lines (80 loc) · 4.72 KB

2017-03-04-new-crates-version.md

File metadata and controls

105 lines (80 loc) · 4.72 KB
layout author title categories date
post
GuillaumeGomez
New crates.io versions available
front
crates
2017-03-04 18:00:00 +0000

TLDR: A lot of minor adds/fixes once again. Few API improvements but the most important ones are:

  • Add of properties (both "normal" and children ones)
  • Add of Into<str>

Now, instead of having to write:

let about_dialog = AboutDialog::new();

about_dialog.set_website(Some("https://gtk-rs.org/blog/"));
about_dialog.set_website(None);

You can write:

let about_dialog = AboutDialog::new();

about_dialog.set_website("https://gtk-rs.org/blog/"); // `Some` isn't need anymore
about_dialog.set_website(None);

Changes

For the interested ones, here is the list of the (major) changes:

Gtk:

Cairo:

Gio:

Pango:

Gir:

Sys:

Thanks to all of ours contributors for their (awesome!) work for this release: