def render(self):
    Window.render(self)
    if (self.rows <= 0):
        return
    self.writeLineRow = 0
    color = (self.focusColor if self.hasFocus else self.color)
    self.writeLine(self.label[:self.cols], color)
def render(self):
    Window.render(self)
    if (self.rows <= 0):
        return
    self.writeLineRow = 0
    color = (self.focusColor if self.hasFocus else self.color)
    self.writeLine(self.label[:self.cols], color)