I am trying to capture a ctrl mouse click.
My naive first attempt was to capture the mouse click and ctrl key state separately using events…
self.accept("mouse1", self.pick) self.accept("mouse1-up", self.release) self.accept("control",self.controlKeyDown) self.accept("control-up",self.controlKeyUp)
… and storing the mouse and ctrl key states.
This works if you click then hit ctrl, but not the other way around, which is the more natural way to do it.
A quick look through the reference manual seems to suggest that ctrl-clicks are handled differently. So how do I capture them?