Called when a drag operation starts or ends.
This function is meant to be overridden.
Typically:
- Call beginParamEdit from .onBeginDrag() or
better, onMouseClick (more context in
.onMouseClick()).
- Call endParamEdit() from .onStopDrag().
- Call .setDirtyWhole() to account from drag
state being seen.
- .onStopDrag() is only way to catch mouse
button release events.
- etc...
Called when a drag operation starts or ends. This function is meant to be overridden.
Typically: - Call beginParamEdit from .onBeginDrag() or better, onMouseClick (more context in .onMouseClick()).
- Call endParamEdit() from .onStopDrag(). - Call .setDirtyWhole() to account from drag state being seen. - .onStopDrag() is only way to catch mouse button release events. - etc...