8#include <boost/python/class.hpp>
14 class_<VisibleWhenProperty, bases<EnabledWhenProperty>>(
"VisibleWhenProperty", no_init)
15 .def(init<std::string, ePropertyCriterion, std::string>(
16 (arg(
"self"), arg(
"otherPropName"), arg(
"when"), arg(
"value")),
17 "Enabled otherPropName property when value criterion meets that "
18 "given by the 'when' argument"))
20 .def(init<std::string, ePropertyCriterion>((arg(
"self"), arg(
"otherPropName"), arg(
"when")),
21 "Enabled otherPropName property when criterion does not require a "
22 "value, i.e isDefault"))
24 .def(init<VisibleWhenProperty, VisibleWhenProperty, eLogicOperator>(
25 (arg(
"self"), arg(
"conditionObjOne"), arg(
"conditionObjTwo")),
26 "Sets the property to visible when the two VisibleWhenProperty"
27 " conditions match the operator condition"));
void export_VisibleWhenProperty()