pythonpygamegame-developmentpygame2

What is the difference between WINDOWCLOSE event type and QUIT event type


I've been wondering what is the difference between this two, I saw WINDOWCLOSE in the pygame docs but it doesn't have much information on it, so can someone tell me what is the difference between this two?


Solution

  • Window close doesn't end application If you have multiple windows, just closes that window, but quit event completely end the application.