UploadList builder
A list of files being uploaded, optionally over the zone that took them.
A builder is RenderOnce. Construct and mount it in one expression.
use gpui_kit::controls::UploadList;
Construct
new(ident: impl Into<Ident>) -> SelfOptions
Chain onto the value.
upload(upload: Upload) -> Self
uploads(uploads: impl IntoIterator<Item = Upload>) -> Self
dropzone(zone: Dropzone) -> Self
show_overall(show: bool) -> Self
on_retry(handler: impl Fn(SharedString, &mut Window, &mut App) + 'static) -> Self
on_cancel(handler: impl Fn(SharedString, &mut Window, &mut App) + 'static) -> Self
on_remove(handler: impl Fn(SharedString, &mut Window, &mut App) + 'static) -> SelfQueries
Only answer; they change nothing.
overall() -> OverallProgressRendered by
Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.