(self, message: str)
| 397 | """ |
| 398 | |
| 399 | def update_message(self, message: str) -> None: |
| 400 | # Update the message display with the provided text. |
| 401 | # Ensure thread safety when updating the Tkinter GUI. |
| 402 | try: |
| 403 | if threading.current_thread() is threading.main_thread(): |
| 404 | self.message_display['text'] = message |
| 405 | else: |
| 406 | self.message_display_queue.put(message) |
| 407 | except Exception as e: |
| 408 | print(f"Error updating message: {e}") |
| 409 | |
| 410 | def process_message_display_queue(self): |
| 411 | try: |
no outgoing calls
no test coverage detected