linebender / druid

A data-first Rust-native UI design toolkit.
https://linebender.org/druid/
Apache License 2.0
9.53k stars 569 forks source link

Application State documentation #1928

Open reisraff opened 3 years ago

reisraff commented 3 years ago

I think the application state is a very important stuff to have a documentation, unfortunately I can't find it.

SteveGremory commented 3 years ago

Yes, I was about to create the same issue

cmyr commented 2 years ago

Do you mean the Application struct?

reisraff commented 2 years ago

Basically this variable data:

let data = 0_u32;

AppLauncher::with_window(main_window)
    .log_to_console()
    .launch(data)
cmyr commented 2 years ago

This is probably the best place to start: https://linebender.org/druid/data.html