10 :
Setting(commandController_, name_, description_, initialValue,
12 , roValue(initialValue)
15 if (newValue != roValue) {
ReadOnlySetting(CommandController &commandController, std::string_view name, static_string_view description, const TclObject &initialValue)
std::string_view getTypeString() const override
Returns a string describing the setting type (integer, string, ..) Could be used in a GUI to pick an ...
void setReadOnlyValue(const TclObject &value)
void setChecker(std::function< void(TclObject &)> checkFunc_)
Set value-check-callback.
void setValue(const TclObject &newValue) final
Change the value of this setting to the given value.
This file implemented 3 utility functions: