ButtonGroup builder
Adjacent related actions sharing one frame.
A builder is RenderOnce. Construct and mount it in one expression.
use gpui_kit::controls::ButtonGroup;
Construct
new(ident: impl Into<Ident>) -> SelfOptions
Chain onto the value.
child(button: Button) -> Self
children(buttons: impl IntoIterator<Item = Button>) -> SelfRendered by
Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.