PrintDialog
A GtkPrintDialog
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 method@Gtk.PrintDialog.setup function. The actual printing can be done with method@Gtk.PrintDialog.print or method@Gtk.PrintDialog.print_file. These APIs follows the GIO async pattern, and the results can be obtained by calling the corresponding finish methods.
Skipped during bindings generation
method
page-setup
: Property TypeInfo of getter and setter do not matchmethod
print-settings
: Property TypeInfo of getter and setter do not match
Since
4.14
Constructors
Properties
Functions
Returns the page setup.
Returns the print settings for the print dialog.
This function prints content from a stream.
This function prints a file.
Finishes the method@Gtk.PrintDialog.print_file call and returns the results.
Finishes the method@Gtk.PrintDialog.print call and returns the results.
Set the page setup for the print dialog.
Sets the print settings for the print dialog.
Finishes the method@Gtk.PrintDialog.setup call.