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,430
  • 11
  • 48
  • 68

1 Answers1

3

Add a handler for the wx.EVT_ICONIZE event.

ChrisN
  • 16,205
  • 8
  • 54
  • 76