GH_ResizableAttributes<T> Methods |
The GH_ResizableAttributes<T> generic type exposes the following members.
Name | Description | |
---|---|---|
AppendToAttributeTree |
Recursively append these attributes and all child attributes to the attribute list.
(Inherited from GH_Attributes<T>.) | |
ExpireLayout |
Expires the entire layout of the attributes. When overridden,
implementer must place a call to the base class ExpireLayout().
(Inherited from GH_Attributes<T>.) | |
InvalidateCanvas |
If the mouse location should cause a canvas invalidation then return true.
You only need to override this function if you draw objects that are dependant
on cursor positions outside the bounds of the attributes.
(Inherited from GH_Attributes<T>.) | |
IsMenuRegion |
Determines whether a point is available for context menu popups.
By default, IsMenuRegion calls IsPickRegion(PointF).
(Inherited from GH_Attributes<T>.) | |
IsPickRegion(PointF) |
Determines whether a point is within the pickable region for this object.
By default, any point inside the Bounds is treated as pickable.
(Inherited from GH_Attributes<T>.) | |
IsPickRegion(RectangleF, GH_PickBox) |
Determines whether a rectangle is a valid pick region for this object.
By default, the picking rectangle is intersected with the Bounds rectangle.
(Inherited from GH_Attributes<T>.) | |
IsTooltipRegion |
Determines whether a point is available for tooltip popups.
By default, IsMenuRegion calls IsTooltipRegion(PointF).
(Inherited from GH_Attributes<T>.) | |
Layout |
Perform dedicated layout logic specific to this particular DocumentObject.
This method is called from PerformLayout if the existing layout is stale.
(Inherited from GH_Attributes<T>.) | |
NewInstanceGuid() |
Generate a new instance GUID for the owner object.
(Inherited from GH_Attributes<T>.) | |
NewInstanceGuid(Guid) |
Generate a new instance GUID for the owner object. Do not use this overload
unless you're > 1.95m and called David.
(Inherited from GH_Attributes<T>.) | |
PerformLayout |
Recompute the layout for these attributes. This function is automatically called during
Drawing operations, so you typically don't have to.
(Inherited from GH_Attributes<T>.) | |
PrepareForRender |
This method will always be called exactly once prior to Render().
This would be a good place to make sure all the necessary GUI data is up and running.
(Inherited from GH_Attributes<T>.) | |
Read | (Inherited from GH_Attributes<T>.) | |
Render |
Override this function to supply custom Render logic.
(Inherited from GH_Attributes<T>.) | |
RenderIncomingWires(GH_Painter, IEnumerable<IGH_Param>, GH_ParamWireDisplay) |
Utility function for derived classes. This method draws all the wires going into the
left side of the attributes.
(Inherited from GH_Attributes<T>.) | |
RenderIncomingWires(GH_Painter, IEnumerable<IGH_Param>, IEnumerable<Pen>) |
Utility function for derived classes. This method draws all the wires going into the
left side of the attributes.
(Inherited from GH_Attributes<T>.) | |
RenderToCanvas |
Render these attributes into a Canvas control. This function places calls to
PrepareForRender() and Render(), you should override those.
(Inherited from GH_Attributes<T>.) | |
RespondToKeyDown | (Inherited from GH_Attributes<T>.) | |
RespondToKeyUp | (Inherited from GH_Attributes<T>.) | |
RespondToMouseDoubleClick | (Inherited from GH_Attributes<T>.) | |
RespondToMouseDown | (Overrides GH_Attributes<T>.RespondToMouseDown(GH_Canvas, GH_CanvasMouseEvent).) | |
RespondToMouseMove | (Overrides GH_Attributes<T>.RespondToMouseMove(GH_Canvas, GH_CanvasMouseEvent).) | |
RespondToMouseUp | (Overrides GH_Attributes<T>.RespondToMouseUp(GH_Canvas, GH_CanvasMouseEvent).) | |
SetupTooltip |
Populates the Grasshopper tooltip with all relevant data.
If this function returns True, it is assumed that all possible
fields have been filled out and the tooltip is ready for display.
(Inherited from GH_Attributes<T>.) | |
Write | (Inherited from GH_Attributes<T>.) |