1 # The followin Python script replaces the zoom in/out operators
2 # with a pan function followed by a zoom. The range of the zoom
3 # can be adjusted by this method, too.
15 unbind("Z", "Zoom In")
16 unbind("z", "Zoom Out")
18 bind("Z", "panzoomin")
19 bind("z", "panzoomout")