Skip to main content

Module tooltip

Module tooltip 

Source
Expand description

Short, non-interactive explanations with GPUI’s tooltip lifecycle.

Functions§

tooltip
A composable tooltip surface, retaining the base tooltip role and styling API.
with_tooltip
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.