code: def set_widget(self, canvas_w):
          
          self.logger.debug("set widget canvas_w=%s" % canvas_w)
          self.pgcanvas = canvas_w
docs: Call this method with the widget that will be used
          for the display.