def setTextBuffer(self, textBuffer):
    Window.setTextBuffer(self, textBuffer)
    self.controller.setTextBuffer(textBuffer)
def setTextBuffer(self, textBuffer):
    Window.setTextBuffer(self, textBuffer)
    self.controller.setTextBuffer(textBuffer)