FileDialog.save

void save(gtk.window.Window parent = null, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

This function initiates a file save operation by presenting a file chooser dialog to the user.

The callback will be called when the dialog is dismissed. It should call [gtk.file_dialog.FileDialog.saveFinish] to obtain the result.

Parameters

parentthe parent [gtk.window.Window]
cancellablea [gio.cancellable.Cancellable] to cancel the operation
callbacka callback to call when the operation is complete