Search code examples
pythonwxpythonwxwidgets

Check if wx.TextCtrl has been deselected, wxpython


Is there some event that checks if the wx.TextCtrl widget has been deselected?

Heres an example of what I want:

myTextbox.Bind(wx.EVT_DESELECT, self.myfunction)

Solution

  • Sounds like you are looking for the EVT_KILL_FOCUS.