Constructors

GH_RibbonMouseEventArgs

#
public GH_RibbonMouseEventArgs(MouseEventArgs e, IGH_RibbonInteractiveObject nActiveObject)
e (MouseEventArgs)
nActiveObject (IGH_RibbonInteractiveObject)

GH_RibbonMouseEventArgs

#
public GH_RibbonMouseEventArgs(MouseEventArgs e)
e (MouseEventArgs)

Fields

m_activeobject

#
protected IGH_RibbonInteractiveObject m_activeobject

m_release

#
protected bool m_release

Properties

ActiveObject

#
public IGH_RibbonInteractiveObject ActiveObject { get; }

IsActiveObject

#
public bool IsActiveObject { get; }

Release

#
public bool Release { get; }

Methods

NewActiveObject

#
public void NewActiveObject(IGH_RibbonInteractiveObject nObject)
Register a new active object. This object will have first dips when the next event fires.
Remarks: If another active object has already been registered, you should reconsider hogging the event.
nObject (IGH_RibbonInteractiveObject)The new active object

ReleaseActiveObject

#
public void ReleaseActiveObject()
Disabled the active object, whatever it is.

ReleaseActiveObject

#
public void ReleaseActiveObject(IGH_RibbonInteractiveObject owner_filter)
Disabled the active object, if it's the same object as the filter. Otherwise nothing happens.
owner_filter (IGH_RibbonInteractiveObject)The object to filter

Reset

#
public void Reset()