PrintOperationPreviewT

Members

Functions

addOnGotPageSize
gulong addOnGotPageSize(void delegate(PrintContext, PageSetup, PrintOperationPreviewIF) dlg, ConnectFlags connectFlags)

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

addOnReady
gulong addOnReady(void delegate(PrintContext, PrintOperationPreviewIF) dlg, ConnectFlags connectFlags)

The ::ready signal gets emitted once per preview operation, before the first page is rendered.

endPreview
void endPreview()

Ends a preview.

getPrintOperationPreviewStruct
GtkPrintOperationPreview* getPrintOperationPreviewStruct(bool transferOwnership)

Get the main Gtk struct

isSelected
bool isSelected(int pageNr)

Returns whether the given page is included in the set of pages that have been selected for printing.

renderPage
void renderPage(int pageNr)

Renders a page to the preview, using the print context that was passed to the #GtkPrintOperation::preview handler together with @preview.

Meta