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

Method update_menu

ClipCascade_Desktop/src/cli/tray.py:179–184  ·  view source on GitHub ↗
(self, item_: tuple = None, no_dialog=False)

Source from the content-addressed store, hash-verified

177 return (menu_items, numbered_menu)
178
179 def update_menu(self, item_: tuple = None, no_dialog=False):
180 self.menu_items, self.numbered_menu = self.create_menu(item_=item_)
181 if not no_dialog:
182 CustomDialog(
183 "Menu Updated! Press Enter to Refresh. ⏎", msg_type="info"
184 ).mainloop()
185
186 def update_stats(self):
187 threading.Thread(target=self._update_stats_thread, daemon=True).start()

Callers 6

_update_stats_threadMethod · 0.95
_on_connectMethod · 0.95
_on_disconnectMethod · 0.95
_wait_to_disconnectMethod · 0.95
enable_files_downloadMethod · 0.95

Calls 3

create_menuMethod · 0.95
CustomDialogClass · 0.90
mainloopMethod · 0.45

Tested by

no test coverage detected