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

Method unregister_hotkey

GPTOCRGUI.py:647–654  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

645 self.log(f"注册快捷键失败: {e}")
646
647 def unregister_hotkey(self):
648 if not HotkeyManager.is_supported():
649 return
650
651 try:
652 self.hotkey_manager.unregister_hotkey()
653 except:
654 pass
655
656 def capture_hotkey(self, event):
657 """实时捕获按键组合"""

Callers 2

save_hotkeyMethod · 0.95
quit_appMethod · 0.95

Calls 1

is_supportedMethod · 0.80

Tested by

no test coverage detected