GtkPrintOperationAction

The @action parameter to gtk.print_operation.PrintOperation.run determines what action the print operation should perform.

Values

ValueMeaning
PrintDialog0

Show the print dialog.

Print1

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

Preview2

Show the print preview.

Export3

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