| 1060 | win32gui.PumpMessages() |
| 1061 | |
| 1062 | def join(self, timeout=None): |
| 1063 | import win32con |
| 1064 | import win32gui |
| 1065 | if not self.is_alive(): |
| 1066 | return |
| 1067 | if not self._splash_screen_handle: |
| 1068 | Thread.join(self, timeout=timeout) |
| 1069 | return |
| 1070 | splash_delay = get_splash_screen_delay_seconds() |
| 1071 | if splash_delay > 0: |
| 1072 | logger.debug( |
| 1073 | 'Delaying splash screen close by %s seconds', splash_delay) |
| 1074 | time.sleep(splash_delay) |
| 1075 | win32gui.PostMessage(self._splash_screen_handle, |
| 1076 | win32con.WM_CLOSE, 0, 0) |
| 1077 | Thread.join(self, timeout=timeout) |
| 1078 | |
| 1079 | def get_icon_path(self): |
| 1080 | """Return the full path to icon file""" |