A simple UI framework for Rust
github.com
github.com
These are for the widget toolkit this project is based on, rather than from the project proper, but it's better than nothing I guess.
Anyone seen any projects like this for rust?
dialog.set_title("blah").set_size_pixels(100, 100);
(note syntax may be out - I am not a Rust expert...) chain!(dialog, set_title("blah"), set_size_piels(100, 100));dialog.set_title("blah");
dialog.set_size_piels(100, 100);
on two lines?
someTimer.set_interval(1000).start();
instead of writing: someTimer.set_interval(1000);
someTimer.start();
[1]: https://github.com/cybergeek94/kiss-ui/blob/master/src/timer...Note that _those_ guidelines are outdated, superseded by https://github.com/rust-lang/rust/tree/master/src/doc/style and http://doc.rust-lang.org/style/
Note that we haven't linked to those publicly all that much yet, as there's so much TODO in them still.
Ahh, Rust. :)
There's a part in the book about the builder pattern: http://doc.rust-lang.org/stable/book/method-syntax.html#buil...
Still, my answer was just referring to the fact that this is not using web tech, and thus, not using servo or any other existing browser engine.