Prepare this button so that it can work properly with the StelProperty and config entry it represents.
- Parameters
-
propertyName | a StelProperty name which must represent a color (coded as Vec3f) |
iniName | the associated entry for config.ini, in the form group/name. Usually "color/some_feature_name_color". |
moduleName | if the iniName is for a module (plugin)-specific ini file, add the module name here. The module needs an implementation of getSettings() |
- Warning
- If the action with
propName
is invalid/unregistered, or cannot be converted to the required datatype, the application will crash