(widget, event_string)
| 494 | |
| 495 | # Observe events for magnification factor change |
| 496 | def ChangeMag(widget, event_string): |
| 497 | if iRen.GetKeyCode() == '+' : |
| 498 | magF = magRep.GetMagnificationFactor() + 1 |
| 499 | else: |
| 500 | magF = magRep.GetMagnificationFactor() - 1 |
| 501 | magRep.SetMagnificationFactor(magF) |
| 502 | |
| 503 | # Add the magnifier widget |
| 504 | magRep = vtkMagnifierRepresentation() |
nothing calls this directly
no test coverage detected