IGH_TooltipAwareObject

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

Properties

TooltipEnabled

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

Methods

IsTooltipRegion

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

SetupTooltip

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