def __init__(self, name, label):
    self.name = name
    self.label = label
    self.widgets = {}
    self.removed_widgets = []
    self.__class__._registry[name] = self
def __init__(self, name, label):
    self.name = name
    self.label = label
    self.widgets = {}
    self.removed_widgets = []
    self.__class__._registry[name] = self