Click or drag to resize

GH_Attr_Widget Class

Grasshopper attribute widgets.
Inheritance Hierarchy
SystemObject
  Karamba.GHopper.Utilities.UIWidgetsGH_Attr_Widget
    More...

Namespace:  Karamba.GHopper.Utilities.UIWidgets
Assembly:  Karamba3D (in Karamba3D.dll) Version: 2.2.0.5 (2.2.0.5)
Syntax
public abstract class GH_Attr_Widget

The GH_Attr_Widget type exposes the following members.

Constructors
  NameDescription
Public methodGH_Attr_Widget
Initializes a new instance of the GH_Attr_Widget class
Top
Properties
  NameDescription
Public propertyBounds
Widget's local space bounds.
Public propertyCanvasBounds
Widget's canvas space bounds.
Public propertyCanvasPivot
Get widget pivot in canvas space.
Public propertyDesciption
Get or set widget's description.
Public propertyEnabled
Get or set widget's state.
Public propertyHeader
Get or set widget's header.
Public propertyHeight
Get or set widget's height.
Public propertyIndex
Get widget's index.
Public propertyName
Get or set widget's name.
Public propertyPalette
Get or set widget's render palette.
Public propertyParent
Get or set widget's parent.
Public propertyShowToolTip
Set tool tip visibility.
Public propertyStyle
Get or set widget's render palette.
Public propertyTopCollection
Get menu collection, the widget belongs to.
Public propertyTransform
Widget's transformation. Is set by the parent of the widget. The widget itself should only read from this field.
Public propertyWidth
Get or set widget's width.
Top
Methods
  NameDescription
Public methodComputeMinSize
Computes widget's minimum size.
Public methodContains
Check if widget bounds contains given point. By default the CanvasBounds of the widget will be consulted.
Public methodStatic memberConvert
Convert float rectange to integer rectangle.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWidgetDescription
Public methodIsTtipPoint
Get widget at point. If no widget is in range of given point, null is returned.
Public methodLayout
Layout widget.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnRender
Render widget to canvas.
Public methodPostUpdateBounds
Is invoked after the bounds of the widget has been updated.
Public methodRead
Deserialize widget.
Public methodRender
Render widget onto canvas. Override this method to defined the widget's render procedure.
Public methodRespondToKeyDown
Public methodRespondToMouseDoubleClick
Public methodRespondToMouseDown
Public methodRespondToMouseMove
Public methodRespondToMouseUp
Public methodStatic memberShrink
Shrink rectangle.
Public methodTooltipSetup
Setup widget's tool tip.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateBounds
Update widget bounds.
Public methodWrite
Serialize widget.
Top
Fields
  NameDescription
Protected field_description
Widget description.
Protected field_enabled
True if the widget is enabled.
Protected field_header
Widget description header.
Protected field_index
Local widget index. Used to identify the widget within its local group. ??? what is the index actually used for?.
Protected field_name
Widget name.
Protected field_showToolTip
True if the widget has a tool tip and it should be shown when requested.
Protected fieldbounds
Widget's local space bounds.
Protected fieldcanvasBounds
Widget's canvas space bounds.
Protected fieldpalette
The palette.
Protected fieldparent
The parent widget. If null, this widget is not nested.
Protected fieldstyle
Widget palette style.
Protected fieldtransfromation
Widget transformation.
Top
See Also
Inheritance Hierarchy