def __init__(self, app, **atts): BaseDocument.__init__(self, app, **atts) self.trait = None #Trait(self.conn) self.cfg = self.app.cfg #self.title = SectionTitle('Trait Document') #self.title.attributes.update(dict(bgcolor='IndianRed', width='100%')) bgcolor = self.cfg.get('management_gui', 'traitdoc_section_title_color') self._sectitle_atts = dict(bgcolor=bgcolor, width='100%') self._show_description = False bgcolor = self.cfg.get('management_gui', 'traitdoc_bgcolor') self.body['bgcolor'] = bgcolor
def __init__(self, app, **atts): BaseDocument.__init__(self, app, **atts) self.suite = None self.cursor = StatementCursor(self.conn)
def __init__(self, app, **atts): BaseDocument.__init__(self, app, **atts) self.cursor = SuiteCursor(self.conn)
def __init__(self, app, **atts): BaseDocument.__init__(self, app, **atts) self.aptsrc = AptSourceHandler(self.conn) self.apt_table = AptSourceTable() self.apt_id = None