From the homepage:<p>> Rust bindings for GTK+ 3, Cairo, GtkSourceView and other GLib-compatible libraries<p><a href="http://gtk-rs.org/" rel="nofollow">http://gtk-rs.org/</a>
Congratulations, keep up the good work!<p>I noticed there seems to be a webbrowser widget too, which I'll have to play with.<p>'Added PDF as a target Surface' that sounds very useful too!<p>I'm just wondering would it be possible to make the gtk widgets copyable, as wouldn't that mean you could remove the clone! macro calls, or am I mistaken there?
How does a pointer-soup toolkit like GTK work with Rust? For example, this code:<p><pre><code> let button = Button::new_with_label("Click me!");
window.add(&button);
button.connect_clicked(|_| {
println!("Clicked!");
});
</code></pre>
We just mutated the button (connect_clicked) while the window holds a reference to it. Isn't that disallowed in Rust? How do the GTK types interoperate with Rust ownership?
Looking at the change log, I see they generate a lot of code with a custom tool called "gir":<p><a href="https://github.com/gtk-rs/gir" rel="nofollow">https://github.com/gtk-rs/gir</a><p>Is it an acronym for something, or is just someone on the team a closet Invader Zim fan? :)