gtk.print_operation_preview

Module for [PrintOperationPreview] interface

Types 2

Methods
void endPreview()Ends a preview.
bool isSelected(int pageNr)Returns whether the given page is included in the set of pages that have been selected for printing.
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.
gulong connectGotPageSize(T)(T callback, Flag!"After" after = No.After)Connect to `GotPageSize` signal.
gulong connectReady(T)(T callback, Flag!"After" after = No.After)Connect to `Ready` signal.