print_run_page_setup_dialog

function print_run_page_setup_dialog(parent:Gtk.Window, page_setup:Gtk.PageSetup, settings:Gtk.PrintSettings):Gtk.PageSetup {
    // Gjs wrapper for gtk_print_run_page_setup_dialog()
}

Runs a page setup dialog, letting the user modify the values from page_setup. If the user cancels the dialog, the returned Gtk.PageSetup is identical to the passed in page_setup, otherwise it contains the modifications done in the dialog.

Note that this function may use a recursive mainloop to show the page setup dialog. See print_run_page_setup_dialog_async if this is a problem.

Since 2.10

parent

transient parent

page_setup

an existing Gtk.PageSetup

settings

a Gtk.PrintSettings

Returns

a new Gtk.PageSetup