Function

Gtk.print_run_page_setup_dialog

Declaration [src]

GtkPageSetup*
gtk_print_run_page_setup_dialog (
  GtkWindow* parent,
  GtkPageSetup* page_setup,
  GtkPrintSettings* settings
)

Description [src]

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_print_run_page_setup_dialog_async() if this is a problem.

Parameters

parent GtkWindow
 

transient parent

 Can be NULL
 Ownership is not transferred to the callee
page_setup GtkPageSetup
 

an existing GtkPageSetup

 Can be NULL
 Ownership is not transferred to the callee
settings GtkPrintSettings
 

a GtkPrintSettings

 Ownership is not transferred to the callee

Return value

Returns: GtkPageSetup

a new GtkPageSetup

Ownership of the data is transferred to the caller