Example #1
0
class View(Object):

    def __init__(self):
        super().__init__()
        self.elements = UIElementCollection({})

    def add_element(self, element):
        self.elements.add(element)
Example #2
0
 def __init__(self):
     super().__init__()
     self.elements = UIElementCollection({})