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

Method kbEvent

gui/characterEditor.py:240–244  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

238 wx.PostEvent(self, GE.CharListUpdated())
239
240 def kbEvent(self, event):
241 if event.GetKeyCode() == wx.WXK_ESCAPE and event.GetModifiers() == wx.MOD_NONE:
242 self.Close()
243 return
244 event.Skip()
245
246 def OnClose(self, event):
247 wx.PostEvent(self.mainFrame, GE.CharListUpdated())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected