StatusBar builder
The strip along the bottom of a window.
A builder is RenderOnce. Construct and mount it in one expression.
use gpui_kit::layout::StatusBar;
Construct
new(ident: impl Into<Ident>) -> SelfOptions
Chain onto the value.
label(label: impl Into<SharedString>) -> Self
item(group: StatusGroup, item: StatusItem) -> Self
items(group: StatusGroup, items: impl IntoIterator<Item = StatusItem>) -> Self
start(items: impl IntoIterator<Item = StatusItem>) -> Self
centre(items: impl IntoIterator<Item = StatusItem>) -> Self
end(items: impl IntoIterator<Item = StatusItem>) -> SelfRendered by
Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.