Grid.agreeToCloseAsync

void agreeToCloseAsync(gio.cancellable.Cancellable cancellable, gio.types.AsyncReadyCallback callback)

Request to close, asynchronously. This will display the save dialog.

Parameters

cancellable
callbackcallback called when ready