(self, ips, x, y, btn, **key)
| 12 | self.ox, self.oy = 0, 0 |
| 13 | |
| 14 | def mouse_down(self, ips, x, y, btn, **key): |
| 15 | if btn==2: |
| 16 | self.ox, self.oy = key['canvas'].to_panel_coor(x,y) |
| 17 | print(self.ox, self.oy) |
| 18 | #print 'down', self.ox, self.oy |
| 19 | if btn==1: key['canvas'].zoomout(x,y) |
| 20 | if btn==3: key['canvas'].zoomin(x,y) |
| 21 | |
| 22 | def mouse_up(self, ips, x, y, btn, **key): |
| 23 | pass |
nothing calls this directly
no test coverage detected