Jeroen Dirks
Jeroen Dirks

Reputation: 7887

How do I detect when my window is minimized with wxPython?

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?

Upvotes: 6

Views: 1641

Answers (1)

ChrisN
ChrisN

Reputation: 16953

Add a handler for the wx.EVT_ICONIZE event.

Upvotes: 3

Related Questions