print_run_page_setup_dialog_async

function print_run_page_setup_dialog_async(parent:Gtk.Window, page_setup:Gtk.PageSetup, settings:Gtk.PrintSettings, done_cb:Gtk.PageSetupDoneFunc):void {
    // Gjs wrapper for gtk_print_run_page_setup_dialog_async()
}

Runs a page setup dialog, letting the user modify the values from page_setup.

In contrast to print_run_page_setup_dialog, this function returns after showing the page setup dialog on platforms that support this, and calls done_cb from a signal handler for the ::response signal of the dialog.

Since 2.10

parent

transient parent, or null

page_setup

an existing Gtk.PageSetup, or null

settings

a Gtk.PrintSettings

done_cb

a function to call when the user saves the modified page setup