Click or drag to resize

GH_ExtendableMenu Class

A menu on a custom component that can be extended and collapsed.
Inheritance Hierarchy
SystemObject
  Karamba.GHopper.Utilities.UIWidgetsGH_Attr_Widget
    Karamba.GHopper.Utilities.UIWidgetsGH_ExtendableMenu

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

The GH_ExtendableMenu type exposes the following members.

Constructors
  NameDescription
Public methodGH_ExtendableMenu
Initializes a new instance of the GH_ExtendableMenu class. Create a new extendable menu.
Top
Properties
  NameDescription
Public propertyBounds
Widget's local space bounds.
(Inherited from GH_Attr_Widget.)
Public propertyCanvasBounds
Widget's canvas space bounds.
(Inherited from GH_Attr_Widget.)
Public propertyCanvasPivot
Get widget pivot in canvas space.
(Inherited from GH_Attr_Widget.)
Public propertyCollection
Public propertyControlls
Get controlls.
Public propertyDesciption
Get or set widget's description.
(Inherited from GH_Attr_Widget.)
Public propertyEnabled
Get or set widget's state.
(Inherited from GH_Attr_Widget.)
Public propertyExpanded
Public propertyHeader
Get or set widget's header.
(Inherited from GH_Attr_Widget.)
Public propertyHeight
Get or set widget's height.
(Inherited from GH_Attr_Widget.)
Public propertyIndex
Get widget's index.
(Inherited from GH_Attr_Widget.)
Public propertyInputs
Public propertyName (Overrides GH_Attr_WidgetName.)
Public propertyOutputs
Public propertyPalette
Get or set widget's render palette.
(Inherited from GH_Attr_Widget.)
Public propertyParent
Get or set widget's parent.
(Inherited from GH_Attr_Widget.)
Public propertyShowToolTip
Set tool tip visibility.
(Inherited from GH_Attr_Widget.)
Public propertyStyle
Get or set widget's render palette.
(Inherited from GH_Attr_Widget.)
Public propertyTopCollection
Get menu collection, the widget belongs to.
(Inherited from GH_Attr_Widget.)
Public propertyTotalHeight
Get total height of extendable menu.
Public propertyTransform
Widget's transformation. Is set by the parent of the widget. The widget itself should only read from this field.
(Inherited from GH_Attr_Widget.)
Public propertyWidth
Get or set widget's width.
(Inherited from GH_Attr_Widget.)
Top
Methods
  NameDescription
Public methodAddControl
Add control to menu.
Public methodCollapse
Colapse menu.
Public methodComputeMinSize (Overrides GH_Attr_WidgetComputeMinSize.)
Public methodContains
Check if widget bounds contains given point. By default the CanvasBounds of the widget will be consulted.
(Inherited from GH_Attr_Widget.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExpand
Expand menu.
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 (Overrides GH_Attr_WidgetGetWidgetDescription.)
Public methodIsTtipPoint (Overrides GH_Attr_WidgetIsTtipPoint(PointF).)
Public methodLayout
Layout menu.
(Overrides GH_Attr_WidgetLayout.)
Public methodMakeAllInActive
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnRender
Render widget to canvas.
(Inherited from GH_Attr_Widget.)
Public methodPostUpdateBounds
Is invoked after the bounds of the widget has been updated.
(Inherited from GH_Attr_Widget.)
Public methodRead (Overrides GH_Attr_WidgetRead(GH_IReader).)
Public methodRegisterInputPlug(ExtendedPlug)
Register input plug.
Public methodRegisterInputPlug(ListExtendedPlug)
Public methodRegisterOutputPlug(ExtendedPlug)
Register output plug.
Public methodRegisterOutputPlug(ListExtendedPlug)
Register output plug.
Public methodRender (Overrides GH_Attr_WidgetRender(WidgetRenderArgs).)
Public methodRenderMenuParameters
Public methodRespondToKeyDown (Inherited from GH_Attr_Widget.)
Public methodRespondToMouseDoubleClick (Overrides GH_Attr_WidgetRespondToMouseDoubleClick(GH_Canvas, GH_CanvasMouseEvent).)
Public methodRespondToMouseDown (Overrides GH_Attr_WidgetRespondToMouseDown(GH_Canvas, GH_CanvasMouseEvent).)
Public methodRespondToMouseMove (Overrides GH_Attr_WidgetRespondToMouseMove(GH_Canvas, GH_CanvasMouseEvent).)
Public methodRespondToMouseUp (Overrides GH_Attr_WidgetRespondToMouseUp(GH_Canvas, GH_CanvasMouseEvent).)
Public methodTooltipSetup (Overrides GH_Attr_WidgetTooltipSetup(PointF, GH_TooltipDisplayEventArgs).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateBounds
Update widget bounds.
(Inherited from GH_Attr_Widget.)
Public methodWrite (Overrides GH_Attr_WidgetWrite(GH_IWriter).)
Top
Fields
  NameDescription
Protected field_description
Widget description.
(Inherited from GH_Attr_Widget.)
Protected field_enabled
True if the widget is enabled.
(Inherited from GH_Attr_Widget.)
Protected field_header
Widget description header.
(Inherited from GH_Attr_Widget.)
Protected field_index
Local widget index. Used to identify the widget within its local group. ??? what is the index actually used for?.
(Inherited from GH_Attr_Widget.)
Protected field_name
Widget name.
(Inherited from GH_Attr_Widget.)
Protected field_showToolTip
True if the widget has a tool tip and it should be shown when requested.
(Inherited from GH_Attr_Widget.)
Protected fieldbounds
Widget's local space bounds.
(Inherited from GH_Attr_Widget.)
Protected fieldcanvasBounds
Widget's canvas space bounds.
(Inherited from GH_Attr_Widget.)
Protected fieldpalette
The palette.
(Inherited from GH_Attr_Widget.)
Protected fieldparent
The parent widget. If null, this widget is not nested.
(Inherited from GH_Attr_Widget.)
Protected fieldstyle
Widget palette style.
(Inherited from GH_Attr_Widget.)
Protected fieldtransfromation
Widget transformation.
(Inherited from GH_Attr_Widget.)
Top
See Also