the action to start
Transient parent of the dialog
the result of the print operation. A return value of gtk.types.PrintOperationResult.Apply indicates that the printing was completed successfully. In this case, it is a good idea to obtain the used print settings with gtk.print_operation.PrintOperation.getPrintSettings
and store them for reuse with the next print operation. A value of gtk.types.PrintOperationResult.InProgress means the operation is running asynchronously, and will emit the gtk.print_operation.PrintOperation.done signal when done.
Runs the print operation.
Normally that this function does not return until the rendering of all pages is complete. You can connect to the signalGtk.PrintOperation::status-changed signal on op to obtain some information about the progress of the print operation.
Furthermore, it may use a recursive mainloop to show the print dialog.
If you set the [Gtk.PrintOperation:allow-async] property, the operation will run asynchronously if this is supported on the platform. The gtk.print_operation.PrintOperation.done signal will be emitted with the result of the operation when the it is done (i.e. when the dialog is canceled, or when the print succeeds or fails).
Note that gtk.print_operation.PrintOperation.run can only be called once on a given gtk.print_operation.PrintOperation.