print_run_page_setup_dialog_async


Description:


public void print_run_page_setup_dialog_async (Window? parent, PageSetup? page_setup, PrintSettings settings, PageSetupDoneFunc done_cb)

Runs a page setup dialog, letting the user modify the values from page_setup.

In contrast to print_run_page_setup_dialog, this function returns after showing the page setup dialog on platforms that support this, and calls done_cb from a signal handler for the ::response signal of the dialog.

Parameters:

parent

transient parent

page_setup

an existing `GtkPageSetup`

settings

a `GtkPrintSettings`

done_cb

a function to call when the user saves the modified page setup

data

user data to pass to done_cb


Namespace: Gtk
Package: gtk4



2022 vala-language.org