def __init__(self, program, parent, label, preferredWidth=None, align=u'left'):
    if app.config.strict_debug:
        assert issubclass(program.__class__, app.ci_program.CiProgram), self
        assert issubclass(parent.__class__, ViewWindow), parent
        assert isinstance(label, unicode)
        assert ((preferredWidth is None) or isinstance(preferredWidth, int))
        assert isinstance(align, unicode)
    ViewWindow.__init__(self, program, parent)
    self.label = label
    self.preferredWidth = preferredWidth
    self.align = ((- 1) if (align == u'left') else 1)
    self.color = self.program.color.get(u'keyword')
def __init__(self, program, parent, label, preferredWidth=None, align=u'left'):
    if app.config.strict_debug:
        assert issubclass(program.__class__, app.ci_program.CiProgram), self
        assert issubclass(parent.__class__, ViewWindow), parent
        assert isinstance(label, unicode)
        assert ((preferredWidth is None) or isinstance(preferredWidth, int))
        assert isinstance(align, unicode)
    ViewWindow.__init__(self, program, parent)
    self.label = label
    self.preferredWidth = preferredWidth
    self.align = ((- 1) if (align == u'left') else 1)
    self.color = self.program.color.get(u'keyword')