6

I am writing a small wxPython utility.

I would like to use some event to detect when a user minimizes the application/window.

I have looked around but did not find an event like wx.EVT_MINIMIZE that I could bind to.

Anyone know of a way that can be used to detect this?

Jeroen Dirks
  • 7,705
  • 12
  • 50
  • 70

1 Answers1

3

Add a handler for the wx.EVT_ICONIZE event.

ChrisN
  • 16,635
  • 9
  • 57
  • 81