def ms_panset ( self , viewer , event , data_x , data_y , msg = True ) : if self . canpan and ( event . state == 'down' ) : self . _panset ( viewer , data_x , data_y , msg = msg ) return True
python panedwindow is not defined
An interactive way to set the pan position . The location ( data_x data_y ) will be centered in the window .
def ms_panset(self, viewer, event, data_x, data_y,
                  msg=True):
        """An interactive way to set the pan position.  The location
        (data_x, data_y) will be centered in the window.
        """
        if self.canpan and (event.state == 'down'):
            self._panset(viewer, data_x, data_y, msg=msg)
        return True