PDA

View Full Version : onWindowClosed Question



drahkar
January 10th, 2010, 22:47
I think I just have a strange issue with Handlers. Can someone give me a heads up on how best to use this one? Just running into weird issues.

If you were going to use this handler to fire off when you closed the window you were looking at, how would you try to do it?

Foen
January 10th, 2010, 23:08
Take a look at the windowmanager.lua module, it handles onWindowClosed and uses the event to ensure window sizes and positions are saved.

drahkar
January 10th, 2010, 23:39
Ah! Perfect. Thanks!