Set the current cursor. This may have no effect if the backend does not display anything. If required by the backend, this method should trigger an update in the backend event loop after the cursor is set, as this method may be called e.g. before a long-run
(self, cursor)
| 1944 | self.mouse_grabber = None |
| 1945 | |
| 1946 | def set_cursor(self, cursor): |
| 1947 | """ |
| 1948 | Set the current cursor. |
| 1949 | |
| 1950 | This may have no effect if the backend does not display anything. |
| 1951 | |
| 1952 | If required by the backend, this method should trigger an update in |
| 1953 | the backend event loop after the cursor is set, as this method may be |
| 1954 | called e.g. before a long-running task during which the GUI is not |
| 1955 | updated. |
| 1956 | |
| 1957 | Parameters |
| 1958 | ---------- |
| 1959 | cursor : `.Cursors` |
| 1960 | The cursor to display over the canvas. Note: some backends may |
| 1961 | change the cursor for the entire window. |
| 1962 | """ |
| 1963 | |
| 1964 | def draw(self, *args, **kwargs): |
| 1965 | """ |
no outgoing calls
no test coverage detected