printRunPageSetupDialog

fngtk.page_setup.PageSetup printRunPageSetupDialog(gtk.window.Window parent, gtk.page_setup.PageSetup pageSetup, gtk.print_settings.PrintSettings settings) nothrow

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

parenttransient parent
pageSetupan existing #GtkPageSetup
settingsa #GtkPrintSettings

Returns

a new #GtkPageSetup