PrintOperation.printRunPageSetupDialogAsync

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

In contrast to gtk_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.

class PrintOperation
static
void
printRunPageSetupDialogAsync

Parameters

parent Window

transient parent, or NULL

pageSetup PageSetup

an existing gtk.PageSetup, or NULL

settings PrintSettings
doneCb GtkPageSetupDoneFunc

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

data void*

user data to pass to done_cb

Meta

Since

2.10