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

Method kbEvent

gui/esiFittings.py:341–345  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

339 self.charChoice.SetSelection(0)
340
341 def kbEvent(self, event):
342 if event.GetKeyCode() == wx.WXK_ESCAPE and event.GetModifiers() == wx.MOD_NONE:
343 self.Close()
344 return
345 event.Skip()
346
347 def getActiveCharacter(self):
348 selection = self.charChoice.GetCurrentSelection()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected