(self, ips, x, y, btn, **key)
| 23 | pass |
| 24 | |
| 25 | def mouse_move(self, ips, x, y, btn, **key): |
| 26 | if btn==2: |
| 27 | x,y = key['canvas'].to_panel_coor(x,y) |
| 28 | #print 'x,y',x,y |
| 29 | #print 'dx,dy:', x-self.ox, y-self.oy |
| 30 | key['canvas'].move(x-self.ox, y-self.oy) |
| 31 | self.ox, self.oy = x,y |
| 32 | |
| 33 | def mouse_wheel(self, ips, x, y, d, **key): |
| 34 | if d>0:key['canvas'].zoomout(x,y) |
nothing calls this directly
no test coverage detected