printRunPageSetupDialog

Runs a page setup dialog, letting the user modify the values from page_setup. If the user cancels the dialog, the returned #GtkPageSetup 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

an existing #GtkPageSetup

settings gtk.print_settings.PrintSettings

a #GtkPrintSettings

Return Value

Type: gtk.page_setup.PageSetup

a new #GtkPageSetup