> I guess the idea was that the widget using this mixin would be the one inheriting from Widget not the mixin itself.

Yes, that was the idea. As Christophe said, if this is not the good practice, the explicit inheritance should be added.