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

Method kbEvent

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

Source from the content-addressed store, hash-verified

101 self.charChoice.SetSelection(0)
102
103 def kbEvent(self, event):
104 if event.GetKeyCode() == wx.WXK_ESCAPE and event.GetModifiers() == wx.MOD_NONE:
105 self.Close()
106 return
107 event.Skip()
108
109 def getActiveCharacter(self):
110 selection = self.charChoice.GetCurrentSelection()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected