MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / kbEvent

Method kbEvent

gui/itemStats.py:140–144  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

138 self.parentWnd.SetActiveStatsWindow(self)
139
140 def kbEvent(self, event):
141 if event.GetKeyCode() == wx.WXK_ESCAPE and event.GetModifiers() == wx.MOD_NONE:
142 self.Close()
143 return
144 event.Skip()
145
146 def OnClose(self, event):
147 self.container.OnWindowClose()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected