VisibleWhenProperty

This a python binding to the C++ class Mantid::Kernel::VisibleWhenProperty.

bases: mantid.kernel.EnabledWhenProperty

class mantid.kernel.VisibleWhenProperty((object)arg1, (str)otherPropName, (PropertyCriterion)when, (str)value)
__init__((object)arg1, (str)otherPropName, (PropertyCriterion)when, (str)value) → None :
Enabled otherPropName property when value criterion meets that given by the ‘when’ argument
__init__( (object)arg1, (str)otherPropName, (PropertyCriterion)when) -> None :
Enabled otherPropName property when criterion does not require a value, i.e isDefault
isEnabled((IPropertySettings)arg1, (IPropertyManager)arg2) → bool :

Is the property to be shown as enabled in the GUI. Default true.

isVisible((IPropertySettings)arg1, (IPropertyManager)arg2) → bool :

Is the property to be shown in the GUI? Default true.