1 unstable release
0.1.0 | Dec 4, 2022 |
---|
#1102 in GUI
29KB
632 lines
slint_orbclient
Slint platform support based on OrbClient. Can be used to run a Slint
application on Redox. Originally located on https://codeberg.org/flovansl/co_sl.
Example
slint::slint!{
HelloWorld := Window {
Text {
text: "hello world";
color: green;
}
}
}
fn main() {
slint_orbclient::init_config(slint_orbclient::Config::default().width(600).height(400).title("Hello"));
HelloWorld::new().run();
}
How to run your app on Redox
- An app template can be found on https://gitlab.redox-os.org/redox-os/slint_redox_template
- A guide to include a program to the Redox build can be found on https://doc.redox-os.org/book/ch05-03-including-programs.html.
new to slint?
Best to start with these sources:
- getting start: https://slint-ui.com/#tryout
- Slint docs (Slint lang docs included): https://docs.rs/slint/latest/slint/
- Slint examples: https://github.com/slint-ui/slint/tree/master/examples
- Slint chat: https://chat.slint-ui.com/
license
slint_orbclient
is available under MIT license.Slint
is available under either a commercial license or GNU GPLv3.
Dependencies
~13–23MB
~313K SLoC