showTooltipOnHandle

open fun showTooltipOnHandle(c: ComponentContext, lithoTooltip: LithoTooltip, handle: Handle)

Show the given tooltip on the component with the given handle instance.

Parameters

c
lithoTooltip

A LithoTooltip implementation to be shown on the anchor.

handle

A Handle used to discover the object in the hierarchy.


open fun showTooltipOnHandle(c: ComponentContext, lithoTooltip: LithoTooltip, handle: Handle, xOffset: Int, yOffset: Int)

Show the given tooltip on the component with the given handle instance.

Parameters

c
lithoTooltip

A LithoTooltip implementation to be shown on the anchor.

handle

A Handle used to discover the object in the hierarchy.

xOffset

horizontal offset from default position where the tooltip shows.

yOffset

vertical offset from default position where the tooltip shows.


open fun showTooltipOnHandle(c: ComponentContext, popupWindow: PopupWindow, handle: Handle, xOffset: Int, yOffset: Int)

Show the given tooltip on the component with the given handle instance.

Parameters

c
popupWindow

A PopupWindow implementation to be shown in the tooltip.

handle

A Handle used to discover the object in the hierarchy.

xOffset

horizontal offset from default position where the tooltip shows.

yOffset

vertical offset from default position where the tooltip shows.