Update widgets.py

The children parameter should be set to list as default (now it's not possible to append child widgets before the class is instantiated)