def __init__(self): self.layout = Layout([ Field(level, 'field', { 'normal': State.parse( 'normal:(0,0)-(1,1)'), }), ]) super().__init__() Frame.start(self, True) Keys.start(self.stage) self.layout.mapping.field.start()