code: def scale_cb(self, setting, value):
          
          zoomlevel = self.zoom.calc_level(value)
          self.t_.set(zoomlevel=zoomlevel)
  
          self.redraw(whence=0)
docs: Handle callback related to image scaling.