printRunPageSetupDialog
fn
gtk.page_setup.PageSetup printRunPageSetupDialog(gtk.window.Window parent, gtk.page_setup.PageSetup pageSetup, gtk.print_settings.PrintSettings settings)Runs a page setup dialog, letting the user modify the values from page_setup. If the user cancels the dialog, the returned [gtk.page_setup.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 [gtk.global.printRunPageSetupDialogAsync] if this is a problem.
Parameters
parent | transient parent |
pageSetup | an existing [gtk.page_setup.PageSetup] |
settings | a [gtk.print_settings.PrintSettings] |
Returns
a new [gtk.page_setup.PageSetup]