slint_orbclient

Crates.ioslint_orbclient
lib.rsslint_orbclient
version0.1.0
sourcesrc
created_at2022-12-04 16:13:09.881378
updated_at2022-12-04 16:13:09.881378
descriptionSlint platform support for Redox
homepage
repositoryhttps://gitlab.redox-os.org/redox-os/slint_orbclient
max_upload_size
id729649
size28,159
Florian Blasius (FloVanGH)

documentation

README

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.

MIT licensed

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

new to slint?

Best to start with these sources:

license

Commit count: 0

cargo fmt