What would be cool, would be widget inheritance, where you can inherit the widget tree and simply add/remove stuff.
This way it would be possible to modify widgets or make versions with additional functions.
Sadly this doesnt work so well.
F.e. I have different inventory icons with different functionality based on type and only want to use the needed functions in the class.
The way I handled this now are duplicate classes and interfaces but it’s always awkward if one has to make the same changes to 3 classes.