code: def right_click_zijderveld(self, event):
          
          if event.LeftIsDown() or event.ButtonDClick():
              return
          elif self.zijderveld_setting == "Zoom":
              self.zijderveld_setting = "Pan"
              try:
                  self.toolbar1.pan('off')
              except TypeError:
                  pass
          elif self.zijderveld_setting == "Pan":
              self.zijderveld_setting = "Zoom"
              try:
                  self.toolbar1.zoom()
              except TypeError:
                  pass
docs: toggles between zoom and pan effects for the zijderveld on right
          click
  
          Parameters
          ----------
          event : the wx.MouseEvent that triggered the call of this function
  
          Alters
          ------
          zijderveld_setting, toolbar1 setting