Internal callback function for when the thread :param event: Information from tkinter about the callback :type event:
(self, *args)
| 12195 | _error_popup_with_traceback('Window.ding() - tkinter reported error from bell() call', e) |
| 12196 | |
| 12197 | def _window_tkvar_changed_callback(self, *args): |
| 12198 | """ |
| 12199 | Internal callback function for when the thread |
| 12200 | |
| 12201 | :param event: Information from tkinter about the callback |
| 12202 | :type event: |
| 12203 | |
| 12204 | """ |
| 12205 | # print('Thread callback info', threading.current_thread()) |
| 12206 | # print(event) |
| 12207 | # trace_details = traceback.format_stack() |
| 12208 | # print(''.join(trace_details)) |
| 12209 | # self.thread_lock.acquire() |
| 12210 | # if self.thread_timer: |
| 12211 | # self.TKroot.after_cancel(id=self.thread_timer) |
| 12212 | # self.thread_timer = None |
| 12213 | # self.thread_lock.release() |
| 12214 | |
| 12215 | if self._queued_thread_event_available(): |
| 12216 | self.FormRemainedOpen = True |
| 12217 | _exit_mainloop(self, None) |
| 12218 | |
| 12219 | def _create_thread_queue(self): |
| 12220 | """ |
nothing calls this directly
no test coverage detected