Gtk.PrintOperationAction

The @action parameter to Gtk.PrintOperation.prototype.run determines what action the print operation should perform.

PrintOperationAction.PRINT_DIALOG

Show the print dialog.

PrintOperationAction.PRINT

Start to print without showing the print dialog, based on the current print settings.

PrintOperationAction.PREVIEW

Show the print preview.

PrintOperationAction.EXPORT

Export to a file. This requires the export-filename property to be set.