[vtkusers] How to make vtkChartXY non-interactive?
elvis.stansvik at orexplore.com
Tue Jun 13 09:16:20 EDT 2017
2017-06-13 15:10 GMT+02:00 Elvis Stansvik <elvis.stansvik at orexplore.com>:
> I'm using a
> trio for editing a vtkColorTransferFunction.
> I'm now trying to make it non-editable (I want this for system "built-in"
> color functions). I've tried calling SetInteractive(false) on all three of
> them. I even tried hiding the control points item, but still I can interact
> with the points using the mouse.
> How can I make it non-interactive?
> I'm using VTK 8.0.0.rc1.
I know I could always override and swallow mouse events, but that seems
like the wrong approach?
I'm only interested in disabling interaction with the control points item.
Even hiding it as well would be OK.
> Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers