Update the canvas cursor based on direction of the selector.
(self, *, enabled)
| 2865 | return () |
| 2866 | |
| 2867 | def _set_span_cursor(self, *, enabled): |
| 2868 | """Update the canvas cursor based on direction of the selector.""" |
| 2869 | if enabled: |
| 2870 | cursor = (backend_tools.Cursors.RESIZE_HORIZONTAL |
| 2871 | if self.direction == 'horizontal' else |
| 2872 | backend_tools.Cursors.RESIZE_VERTICAL) |
| 2873 | else: |
| 2874 | cursor = backend_tools.Cursors.POINTER |
| 2875 | |
| 2876 | self._set_cursor(cursor) |
| 2877 | |
| 2878 | def connect_default_events(self): |
| 2879 | # docstring inherited |
no test coverage detected