Closed nicolaspayette closed 9 years ago
Those can't be in state, because state doesn't know about widget kinds (and their properties), but could be defined in api.ExtraWidget.
state
api.ExtraWidget
The user would be warned through the GUI. When running headless, we would just let it slide.
The different widget kinds would just extend the set of recognized properties.
Maybe other types of validations (e.g. validating the type of propertie values?) could be added as well.
This is related to #102, but should also be dealt with for all the xw:set-<key> setters. Right now, the property is silently added to the map.
xw:set-<key>
Those can't be in
state
, becausestate
doesn't know about widget kinds (and their properties), but could be defined inapi.ExtraWidget
.The user would be warned through the GUI. When running headless, we would just let it slide.
The different widget kinds would just extend the set of recognized properties.
Maybe other types of validations (e.g. validating the type of propertie values?) could be added as well.