Tooltip builder
A themed help surface.
A builder is RenderOnce. Construct and mount it in one expression.
use gpui_kit::overlay::Tooltip;
Construct
new(ident: impl Into<Ident>, text: impl Into<SharedString>) -> SelfOptions
Chain onto the value.
describes(control: impl Into<SharedString>) -> Self
view(cx: &mut App) -> AnyViewRendered by
Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.