pub fn with_tooltip<T: StatefulInteractiveElement>(
control: T,
text: impl Into<SharedString>,
) -> TExpand description
Attach a macOS tooltip without changing the control’s concrete type. GPUI owns hover delay, placement, dismissal, and cleanup when the owner leaves. Keep an accessible label on icon-only controls; a tooltip is supplementary.