def __init__(self, app, title='BaseDocument', **atts): SimpleDocument.__init__(self, title=title) if atts: print atts print 'Warning attributes are unimplemented in BaseDocument' self.app = app self.conn = app.conn
def __init__(self, app, tableclass=BaseMainTable, title="BaseDocument", **args): SimpleDocument.__init__(self, title=title) self.app = app self.maintable = tableclass(self.app) self.body.set(self.maintable)
def __init__(self, title='BasePage', stylesheet='/css/default.css', **args): SimpleDocument.__init__(self, title=title, stylesheet=stylesheet) self.set_stylesheet() self.favicon = Favicon() self.head.append(self.favicon)
def __init__(self, app): SimpleDocument.__init__(self, title='Uml Machines') self.app = app self.umlcfg = self.app.umlcfg self.opttable = OptionsTable()