Files
advotracker/frontend/examples/widget.rs
2020-06-12 16:39:45 +02:00

16 lines
435 B
Rust

// source: https://gitlab.redox-os.org/redox-os/orbtk/tree/develop
use orbtk::prelude::*;
fn main() {
Application::new()
.window(|ctx| {
Window::create()
.title("OrbTk - minimal example")
.position((100.0, 100.0))
.size(420.0, 730.0)
.child(TextBlock::create().text("OrbTk").build(ctx))
.build(ctx)
})
.run();
}