Function gtk::functions::print_run_page_setup_dialog[][src]

pub fn print_run_page_setup_dialog<P: IsA<Window>>(
    parent: Option<&P>,
    page_setup: Option<&PageSetup>,
    settings: &PrintSettings
) -> Option<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 print_run_page_setup_dialog_async() if this is a problem.

parent

transient parent

page_setup

an existing PageSetup

settings

a PrintSettings

Returns

a new PageSetup