PyWeek - PyGame help

Maybe I'm overlooking the obvious, but if I get an ACTIVEEVENT event (indicating that the user clicked away, or clicked back) - I see a variety of different states coming in as integers 1, 2, 6... maybe more.

Are the meanings of these numbers documented anywhere? I hardcoded my game to respond to the specific numbers, but I imagine there are some PyGame variables that match them that I probably should be using.

Also, how uniform are those activation messages? Is the pattern of messages that I get on Windows similar to the Mac, and to Linux?

tsmaster on 2007/04/05 08:04 of Woody Tigerbaum's Interplanetary Package Delivery (Big Dice Games - PW4)