FileDialog.save

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

parent gtk.window.Window
cancellable gio.cancellable.Cancellable

a gio.cancellable.Cancellable to cancel the operation

callback gio.types.AsyncReadyCallback

a callback to call when the operation is complete