Boolean property on VTKPythonAlgorithmBase with checkbox

Hi folks,

We have a custom file reading Python algorithm that inherit VTKPythonAlgorithmBase.

Now I’d like to offer a user-controllable boolean property on it. The user should be able to toggle it using a checkbox in ParaView, next to the File Name property.

Is it possible? I looked at the decorators available in vtkmodules.util.vtkAlgorithm.smproperty, but there doesn’t seem to be a boolean one. Is it possible some other way?

Apologies, seems this has been answered before at Checkbox decorator in Python Plugin - #2 by mwestphal

I’ll work off that and see where it gets me!