A gtk.print_dialog.PrintDialog object collects the arguments that are needed to present a print dialog to the user, such as a title for the dialog and whether it should be modal.
The dialog is shown with the gtk.print_dialog.PrintDialog.setup function. The actual printing can be done with gtk.print_dialog.PrintDialog.print or gtk.print_dialog.PrintDialog.printFile. These APIs follows the GIO async pattern, and the results can be obtained by calling the corresponding finish methods.
A gtk.print_dialog.PrintDialog object collects the arguments that are needed to present a print dialog to the user, such as a title for the dialog and whether it should be modal.
The dialog is shown with the gtk.print_dialog.PrintDialog.setup function. The actual printing can be done with gtk.print_dialog.PrintDialog.print or gtk.print_dialog.PrintDialog.printFile. These APIs follows the GIO async pattern, and the results can be obtained by calling the corresponding finish methods.