MCPcopy Create free account
hub / github.com/T-duality/PillOCR-python / update_icon_status

Method update_icon_status

GPTOCRGUI.py:834–839  ·  view source on GitHub ↗
(self, status)

Source from the content-addressed store, hash-verified

832 self.root.destroy() # 修改为 destroy 以立即关闭窗口和主循环
833
834 def update_icon_status(self, status):
835 if hasattr(self, 'icon') and self.icon and self.icon._running:
836 try:
837 self.icon.icon = self.icon_image[status] # 直接设置图标
838 except Exception as e:
839 print(f"更新图标失败: {e}")
840
841 def update_client_settings(self):
842 """更新 ImageToMarkdown 处理器的设置"""

Callers 2

start_processingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected