MCPcopy Create free account
hub / github.com/BuddySirJava/SSH-Studio / _show_toast

Method _show_toast

src/main.py:319–327  ·  view source on GitHub ↗
(self, message: str)

Source from the content-addressed store, hash-verified

317 self._show_error_dialog(_("Error"), message)
318
319 def _show_toast(self, message: str):
320 logging.info(f"Toast: {message}")
321 if self.main_window and hasattr(self.main_window, "show_toast"):
322 try:
323 self.main_window.show_toast(message)
324 return
325 except Exception:
326 pass
327 self._show_error_dialog(_("Info"), message)
328
329
330def main():

Callers

nothing calls this directly

Calls 2

_show_error_dialogMethod · 0.95
show_toastMethod · 0.80

Tested by

no test coverage detected