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

Method _on_launch_clicked

src/gui_controller.py:454–459  ·  view source on GitHub ↗

Handle launch button click.

(self, button)

Source from the content-addressed store, hash-verified

452 self._show_status(f"Failed to open folder: {e}", "error")
453
454 def _on_launch_clicked(self, button):
455 """Handle launch button click."""
456 if self.launcher.is_running():
457 self._stop_puppet()
458 else:
459 self._launch_puppet()
460
461 def _launch_puppet(self):
462 """Launch the puppet."""

Callers

nothing calls this directly

Calls 3

_stop_puppetMethod · 0.95
_launch_puppetMethod · 0.95
is_runningMethod · 0.80

Tested by

no test coverage detected