Skip to main content

Module tooltip

Module tooltip 

Source
Expand description

Hover-delayed help for a control that is already usable without it.

A tooltip is never actionable and never carries the only copy of something the user needs in order to act, because it cannot be reached by keyboard, by touch, or by anyone who does not hover.

The delay, the placement, and the dismissal come from GPUI’s own hover machinery (gpui::StatefulInteractiveElement::tooltip); this module supplies the themed surface it renders and the semantic node it publishes.

Structs§

Tooltip
A themed help surface.

Traits§

Tooltipped
Attaches hover help to a control.