13 auto [text, onCheck, onClear, onClick, onCheckFunctionName, onCheckFunctionModule, onClearFunctionName, onClearFunctionModule, onClickFunctionName, onClickFunctionModule] =
14 any_cast<tuple<wstring, function<void()>, function<void()>, function<void()>, string, string, string, string, string,
string>>(additionalData);
16 CheckBox* result =
new CheckBox(windowName, text, settings, parent,
nullptr,
nullptr,
nullptr);
20 result->setOnCheck(onCheck);
22 else if (onCheckFunctionName.size())
24 result->setOnCheck(onCheckFunctionName, onCheckFunctionModule);
29 result->setOnClear(onClear);
31 else if (onClearFunctionName.size())
33 result->setOnCheck(onClearFunctionName, onClearFunctionModule);
38 result->setOnClick(onClick);
40 else if (onClickFunctionName.size())
42 result->setOnClick(onClickFunctionName, onClickFunctionModule);