Package org.gnome.gtk

Class PrintDialog

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class PrintDialog extends GObject
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 setup(org.gnome.gtk.Window, org.gnome.gio.Cancellable, org.gnome.gio.AsyncReadyCallback) function. The actual printing can be done with print(org.gnome.gtk.Window, org.gnome.gtk.PrintSetup, org.gnome.gio.Cancellable, org.gnome.gio.AsyncReadyCallback) or printFile(org.gnome.gtk.Window, org.gnome.gtk.PrintSetup, org.gnome.gio.File, org.gnome.gio.Cancellable, org.gnome.gio.AsyncReadyCallback). These APIs follows the GIO async pattern, and the results can be obtained by calling the corresponding finish methods.