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
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)

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