| |
- MouseToolBase
class MouseToolBase |
|
The mouse tool base class, which does nothing. |
|
Methods defined here:
- button1(self, event)
- The left button was clicked, <Button-1> function.
- buttonRelease1(self, event)
- The left button was released, <ButtonRelease-1> function.
- destroyEverything(self)
- Destroy items.
- destroyEverythingGetFocus(self)
- Destroy items and get the focus for the canvas.
- getReset(self, window)
- Reset the mouse tool to default.
- getTagsGivenXY(self, x, y)
- Get the tag for the x and y.
- isSelectionTool(self)
- Return if this mouse tool is a selection tool.
- keyPressDown(self, event)
- The down arrow was pressed.
- keyPressLeft(self, event)
- The left arrow was pressed.
- keyPressReturn(self, event)
- The return key was pressed.
- keyPressRight(self, event)
- The right arrow was pressed.
- keyPressUp(self, event)
- The up arrow was pressed.
- motion(self, event, shift=False)
- The mouse moved, <Motion> function.
- setWindowItems(self, window)
- Set the canvas and items.
- update(self)
- Update the mouse tool.
| |