Creates the queue used by threads to communicate with this window
(self)
| 12217 | _exit_mainloop(self, None) |
| 12218 | |
| 12219 | def _create_thread_queue(self): |
| 12220 | """ |
| 12221 | Creates the queue used by threads to communicate with this window |
| 12222 | """ |
| 12223 | |
| 12224 | if self.thread_queue is None: |
| 12225 | self.thread_queue = queue.Queue() |
| 12226 | |
| 12227 | if self.thread_lock is None: |
| 12228 | self.thread_lock = threading.Lock() |
| 12229 | |
| 12230 | if self.thread_strvar is None: |
| 12231 | self.thread_strvar = tk.StringVar() |
| 12232 | self.thread_strvar.trace_add("write", self._window_tkvar_changed_callback) |
| 12233 | |
| 12234 | def write_event_value(self, key, value): |
| 12235 | """ |