PrintOperationPreview.connectGotPageSize

Connect to GotPageSize signal.

The ::got-page-size signal is emitted once for each page that gets rendered to the preview.

A handler for this signal should update the context according to page_setup and set up a suitable cairo context, using gtk.print_context.PrintContext.setCairoContext.

interface PrintOperationPreview
gulong
connectGotPageSize
(
T
)
(,
Flag!"After" after = No.After
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gtk.print_context.PrintContext context, gtk.page_setup.PageSetup pageSetup, gtk.print_operation_preview.PrintOperationPreview printOperationPreview)

context the current #GtkPrintContext (optional)

pageSetup the #GtkPageSetup for the current page (optional)

printOperationPreview the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: gulong

Signal ID