CustomTooltipHandlerType
public protocol CustomTooltipHandlerType : AnyObject
Undocumented
-
Requests that a tooltip be shown at a specified location relative to a specified view.
Declaration
Swift
func showTooltip( _ tooltip: Tooltip, view: View, location: PreferredTooltipLocation )
-
Requests that a tooltip for a given tooltip provider be shown, optionally specifying a custom tooltip location.
Declaration
Swift
func showTooltip( for tooltipProvider: TooltipProvider, location: PreferredTooltipLocation? )
-
Updates the contents of the currently displayed tooltip. Does nothing, if
Declaration
Swift
func updateTooltip(_ tooltip: Tooltip)
-
Hides a tooltip that was previously shown with
showTooltip
Declaration
Swift
func hideTooltip()
-
Explicitly requests that the custom lifetime of this tooltip handler be ended and tooltip management return to the default behaviour.
Declaration
Swift
func endTooltipLifetime()
-
showTooltip(for:
Extension method) Requests that a tooltip for a given tooltip provider be shown.
Declaration
Swift
public func showTooltip(for tooltipProvider: TooltipProvider)