code: def source(self, source):
          
          BaseView.source.fset(self, source)
          if self.main_pane:
              self.main_pane.object = self.contents
              self.label_pane.object = self.label
docs: When the source gets updated, update the pane object