pub fn text<'a, C: ContentCx<'a>>(
cx: &mut C,
id: impl Into<WidgetId>,
rect: Rect,
view: &TextView<'_>,
settings: &TextSettings,
)Expand description
Register and draw a text label. Hover colour is view.hovered (the
library field), not a separate widget state.