def __init__(self, program, host):
    if app.config.strict_debug:
        assert issubclass(self.__class__, Menu), self
        assert issubclass(host.__class__, ActiveWindow)
    ViewWindow.__init__(self, program, host)
    self.host = host
    self.label = u''
    self.lines = []
    self.commands = []
def __init__(self, program, host):
    if app.config.strict_debug:
        assert issubclass(self.__class__, Menu), self
        assert issubclass(host.__class__, ActiveWindow)
    ViewWindow.__init__(self, program, host)
    self.host = host
    self.label = u
    self.lines = []
    self.commands = []