IGH_TooltipAwareObject

References
public interface IGH_TooltipAwareObject
Implement this interface if you want your object to participate in Grasshopper Canvas tooltips.

Properties

TooltipEnabled

#
Gets the tooltip enabled value. If False, no further tooltip functions will be called.
bool TooltipEnabled { get; }

Methods

IsTooltipRegion

#
Determine whether the specified pixel should result in a tooltip when the cursor hovers over it.
bool IsTooltipRegion(
PointF
canvasPoint
Point in Canvas coordinates.
)

SetupTooltip

#
This function is called when a tooltip it about to be displayed.
void SetupTooltip(
PointF
canvasPoint,
The pixel coordinate on the canvas of the cursor.
e
Tooltip display arguments.
)