This method gets called also by Timer, a new thread, and so needs to lock the update
(self)
| 491 | self._need_update_flag = True |
| 492 | |
| 493 | def do_gui_update(self): |
| 494 | """ This method gets called also by Timer, a new thread, and so needs to lock the update |
| 495 | """ |
| 496 | with self.update_lock: |
| 497 | changed_widget_dict = {} |
| 498 | self.root.repr(changed_widget_dict) |
| 499 | for widget in changed_widget_dict.keys(): |
| 500 | html = changed_widget_dict[widget] |
| 501 | __id = str(widget.identifier) |
| 502 | self._send_spontaneous_websocket_message(_MSG_UPDATE + __id + ',' + to_websocket(self._overload(html, filename="internal"))) |
| 503 | self._need_update_flag = False |
| 504 | |
| 505 | def websocket_handshake_done(self, ws_instance_to_update): |
| 506 | msg = "" |
no test coverage detected