MCPcopy Create free account
hub / github.com/Eve-PySpy/PySpy / OnHook

Method OnHook

highlightdialog.py:120–126  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

118 idx += 1
119
120 def OnHook(self, event):
121 if event.GetKeyCode() == wx.WXK_ESCAPE:
122 self.OnCancel(event)
123 if event.GetKeyCode() == wx.WXK_RETURN:
124 self.OnApply(event)
125 else:
126 event.Skip()
127
128 def OnApply(self, event):
129 num = self.highlightList.GetItemCount()

Callers

nothing calls this directly

Calls 2

OnCancelMethod · 0.95
OnApplyMethod · 0.95

Tested by

no test coverage detected