(self, app)
| 247 | |
| 248 | self.launcher = PuppetLauncher() |
| 249 | self.controller = PuppetController() |
| 250 | self.viewer_url = None |
| 251 | self.current_model_path = None |
| 252 | self._monitor_thread = None |
| 253 | self._stop_monitor = False |
| 254 | self._viewer_download_thread = None |
| 255 | |
| 256 | self._setup_ui() |
| 257 | self._load_models() |
| 258 | if not os.path.isdir(self.launcher.webview_path): |
| 259 | self._download_viewer() |
| 260 | |
| 261 | def _setup_ui(self): |
| 262 | """Setup the user interface.""" |
| 263 | # Main box |
| 264 | self.main_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0) |
nothing calls this directly
no test coverage detected