signal callback delegate or function to connect
void callback(gtk.print_context.PrintContext context, int pageNr, gtk.print_operation.PrintOperation printOperation)
context the gtk.print_context.PrintContext for the current operation (optional)
pageNr the number of the currently printed page (0-based) (optional)
printOperation the instance the signal is connected to (optional)
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to DrawPage signal.
Emitted for every page that is printed.
The signal handler must render the page_nr's page onto the cairo context obtained from context using gtk.print_context.PrintContext.getCairoContext.
Use gtk.print_operation.PrintOperation.setUseFullPage and gtk.print_operation.PrintOperation.setUnit before starting the print operation to set up the transformation of the cairo context according to your needs.