Gets emitted when a preview is requested from the native dialog.
The default handler for this signal uses an external viewer
application to preview.
To implement a custom print preview, an application must return
TRUE from its handler for this signal. In order to use the
provided context for the preview implementation, it must be
given a suitable cairo context with PrintContext.setCairoContext.
Gets emitted when a preview is requested from the native dialog.
The default handler for this signal uses an external viewer application to preview.
To implement a custom print preview, an application must return TRUE from its handler for this signal. In order to use the provided context for the preview implementation, it must be given a suitable cairo context with PrintContext.setCairoContext.
The custom preview implementation can use PrintOperation.previewIsSelected and PrintOperation.previewRenderPage to find pages which are selected for print and render them. The preview must be finished by calling PrintOperation.previewEndPreview (typically in response to the user clicking a close button).