Click or drag to resize

IGH_Attributes Methods

The IGH_Attributes type exposes the following members.

Methods
  NameDescription
Public methodAppendToAttributeTree
Recursively append these attributes and all child attributes to the attribute list.
Public methodExpireLayout
Expires the entire layout of the attributes. When overridden, implementer must place a call to the base class ExpireLayout().
Public methodInvalidateCanvas
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.
Public methodIsMenuRegion
Determines whether a point is available for context menu popups. By default, IsMenuRegion calls IsPickRegion(PointF).
Public methodIsPickRegion(PointF)
Determines whether a point is within the pickable region for this object. By default, any point inside the Bounds is treated as pickable.
Public methodIsPickRegion(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.
Public methodIsTooltipRegion
Determine whether the specified pixel should result in a tooltip when the cursor hovers over it.
(Inherited from IGH_TooltipAwareObject.)
Public methodNewInstanceGuid
Generate a new instance GUID for the owner object.
Public methodNewInstanceGuid(Guid)
Generate a new instance GUID for the owner object. Do not use this overload unless you're > 1.95m and called David.
Public methodPerformLayout
Recompute the layout for these attributes. This function is automatically called during Drawing operations, so you typically don't have to.
Public methodRead
This method is called whenever the instance is required to deserialize itself.
(Inherited from GH_ISerializable.)
Public methodRenderToCanvas
Render these attributes into a Canvas control.
Public methodRespondToKeyDown (Inherited from IGH_ResponsiveObject.)
Public methodRespondToKeyUp (Inherited from IGH_ResponsiveObject.)
Public methodRespondToMouseDoubleClick
This function will be called whenever the left button is double-clicked over the canvas. If you are active, you will be the only object who gets called.
(Inherited from IGH_ResponsiveObject.)
Public methodRespondToMouseDown
This function will be called whenever a mouse button is pressed over the canvas. If you are active, you will be the only object who gets called. If you are inactive, you might get called if nobody on top of you decides to become active.
(Inherited from IGH_ResponsiveObject.)
Public methodRespondToMouseMove
This function will be called when the mouse moves across the canvas. If you are active, you will be the only object who gets called. If you are inactive, you might get called if nobody on top of you decides to become active.
(Inherited from IGH_ResponsiveObject.)
Public methodRespondToMouseUp
This function will be called whenever a mouse button is released over the canvas. If you are active, you will be the only object who gets called. If you are inactive, you will not be called at all for MouseUp events.
(Inherited from IGH_ResponsiveObject.)
Public methodSetupTooltip
This function is called when a tooltip it about to be displayed.
(Inherited from IGH_TooltipAwareObject.)
Public methodWrite
This method is called whenever the instance is required to serialize itself.
(Inherited from GH_ISerializable.)
Top
See Also