def add_widget(self, widget, order=0):
    self.widgets[widget] = {'widget': widget, 'order': order}
def add_widget(self, widget, order=0):
    self.widgets[widget] = {'widget': widget, 'order': order}