Expand description
§Rust Widget Toolkit
Wtk is a simple widget toolkit.
fn main() {
let mut app = App::<SDLBackend>::new("WTK button example");
let button = Button::new("clickme", |b| {
b.set_text("clicked");
});
app.add_widget(button.shared());
app.run();
}
Modules§
- app
- backends
- draw
- Home of most drawing functions.
- elm
- A collection of helper traits and macros for creating an Elm Architecture like app.
- event
- font
- macros
- pixels
- prelude
- rect
- theme
- widgets