MCPcopy
hub / github.com/Sathvik-Rao/ClipCascade / _on_connect

Method _on_connect

ClipCascade_Desktop/src/cli/tray.py:211–218  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 TaskbarPanel.open_webbrowser(self.new_version_available[3])
210
211 def _on_connect(self):
212 if self.on_connect_callback:
213 try:
214 self.on_connect_callback()
215 except Exception as e:
216 pass
217 self.is_connected = True
218 self.update_menu(no_dialog=True)
219
220 def _on_disconnect(self):
221 if self.on_disconnect_callback:

Callers

nothing calls this directly

Calls 1

update_menuMethod · 0.95

Tested by

no test coverage detected