New crates.io versions available
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("http://gtk-rs.org/blog/"));
about_dialog.set_website(None);
You can write:
let about_dialog = AboutDialog::new();
about_dialog.set_website("http://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:
- Add child properties for ToolItemGroup
- Add child properties to Grid
- Generate child properties
- Add child properties for Toolbar
- Trampoline transformation
- Add set_translation_domain and get_translation_domain for gtk::Builder
- Add manual Assistant.set_forward_page_func
- Ignore duplicated parent methods
- Add gtk::PopoverConstraint and related Popover methods
- Add all properties
- Add model button
- Add Into option str
- Add RadioButton and RadioMenuItem
- Add xcb functions
- Implement missing methods for patterns and surfaces
- Reexport forgotten sys enums used in Pattern public functions
- Add missing enum
Gio:
Gir:
- Update toml, regex and xml-rs version
- Parse fields in classes and generate correct class structs
- Add group comments in generated sys
- Generate child properties
- Use error_chain crate to process errors
- Add long and short types
- Remove records empty line
- Don’t generate a method if a parent already has it
- Apply configured return.nullable to out parameters
- Add properties
- Fix GValue generation in gobject-sys
- Add pointer size check
- Check for config file existence before loading it
- Don’t implement Display trait for non-standard to_string
- Add Into<&str> for optional parameters
- Moved bounds logic out parameter
- Add bounds
- Fix generation out parameter with simply types
- Remove unused uses in generated enums.rs
Sys:
- Apply “Parse fields in classes and generate correct class structs” in gir
- Fix GValue size on i686-pc-windows-gnu
Thanks to all of ours contributors for their (awesome!) work for this release: