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

parent gtk.window.Window

transient parent

pageSetup gtk.page_setup.PageSetup
settings gtk.print_settings.PrintSettings

Return Value

Type: gtk.page_setup.PageSetup