Beta Documentation - Subject to change.

Event fired when a window is closing.

Syntax

Lua
function Window:Closing(sender, args);

Parameters

sender
Type: table
The event sender.
args
Type: table
The event arguments

Remarks

This event is fired when a window is about to close. The event has the chance to cancel the closing by setting Cancel to true in the event arguments table.

See Also