Function gtk4::print_run_page_setup_dialog
source · pub fn print_run_page_setup_dialog(
parent: Option<&impl IsA<Window>>,
page_setup: Option<&PageSetup>,
settings: &PrintSettings
) -> PageSetup
Expand description
Runs a page setup dialog, letting the user modify the values from
@page_setup. If the user cancels the dialog, the returned 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_print_run_page_setup_dialog_async() if this is a problem.
parent
transient parent
page_setup
an existing PageSetup
settings
Returns
a new PageSetup