connectBeginPrint

fun connectBeginPrint(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (context: PrintContext) -> Unit): <Error class: unknown class>

Emitted after the user has finished changing print settings in the dialog, before the actual rendering starts.

A typical use for ::begin-print is to use the parameters from the class@Gtk.PrintContext and paginate the document accordingly, and then set the number of pages with method@Gtk.PrintOperation.set_n_pages.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: context the GtkPrintContext for the current operation