printRunPageSetupDialog

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

parenttransient parent
pageSetupan existing [gtk.page_setup.PageSetup]
settingsa [gtk.print_settings.PrintSettings]

Returns

a new [gtk.page_setup.PageSetup]