pub type TooltipPositionDelegate = Rc<dyn Fn(TooltipPositionContext) -> Offset>;Expand description
Signature for computing the position of a tooltip.
The TooltipPositionContext contains all the necessary information for
positioning the tooltip, including the target location, sizes, offset, and
positioning preference.
Returns the offset from the top left of the overlay to the top left of the tooltip.
See also:
TooltipPositionContext, which contains the positioning parameters.
Aliased Typeยง
pub struct TooltipPositionDelegate { /* private fields */ }