Another question:
How important is it to have a base Widget class from which all derive?
I had two possibilities:
1. Declaring setPosition() and stuff as virtual functions
2. Not declaring them virtual and have callbacks like onSizeChange() which can be connected.
Help please, this is my first library
PS: Have a fully function PushButton class with callbacks and stuff!