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

Method kbEvent

gui/propertyEditor.py:93–97  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

91 self.Bind(wx.EVT_CHAR_HOOK, self.kbEvent)
92
93 def kbEvent(self, event):
94 if event.GetKeyCode() == wx.WXK_ESCAPE and event.GetModifiers() == wx.MOD_NONE:
95 self.Close()
96 return
97 event.Skip()
98
99 def OnClose(self, event):
100 fitID = self.mainFrame.getActiveFit()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected