MCPcopy Create free account
hub / github.com/NyarchLinux/DesktopPuppet / __init__

Method __init__

src/gui_controller.py:249–261  ·  view source on GitHub ↗
(self, app)

Source from the content-addressed store, hash-verified

247 """Main application window."""
248
249 def __init__(self, app):
250 super().__init__(application=app, title="DesktopPuppet Controller")
251 self.set_default_size(900, 700)
252
253 self.launcher = PuppetLauncher()
254 self.controller = PuppetController()
255 self.viewer_url = None
256 self.current_model_path = None
257 self._monitor_thread = None
258 self._stop_monitor = False
259
260 self._setup_ui()
261 self._load_models()
262
263 def _setup_ui(self):
264 """Setup the user interface."""

Callers

nothing calls this directly

Calls 5

_setup_uiMethod · 0.95
_load_modelsMethod · 0.95
PuppetLauncherClass · 0.85
PuppetControllerClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected