Sets the cursor for the window. If you do not want any mouse pointer, then use the string "none" :param cursor: The tkinter cursor name :type cursor: (str)
(self, cursor)
| 12163 | return self.TKrootDestroyed |
| 12164 | |
| 12165 | def set_cursor(self, cursor): |
| 12166 | """ |
| 12167 | Sets the cursor for the window. |
| 12168 | If you do not want any mouse pointer, then use the string "none" |
| 12169 | |
| 12170 | :param cursor: The tkinter cursor name |
| 12171 | :type cursor: (str) |
| 12172 | """ |
| 12173 | |
| 12174 | if not self._is_window_created('tried Window.set_cursor'): |
| 12175 | return |
| 12176 | try: |
| 12177 | self.TKroot.config(cursor=cursor) |
| 12178 | except Exception as e: |
| 12179 | print('Warning bad cursor specified ', cursor) |
| 12180 | print(e) |
| 12181 | |
| 12182 | def ding(self, display_number=0): |
| 12183 | """ |
no test coverage detected