PrintOperationPreviewT

Members

Functions

addOnGotPageSize
void 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
void 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()

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.

Properties

onGotPageSizeListeners
void delegate(PrintContext, PageSetup, PrintOperationPreviewIF)[] onGotPageSizeListeners [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
onReadyListeners
void delegate(PrintContext, PrintOperationPreviewIF)[] onReadyListeners [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

callBackGotPageSize
void callBackGotPageSize(GtkPrintOperationPreview* printoperationpreviewStruct, GtkPrintContext* context, GtkPageSetup* pageSetup, PrintOperationPreviewIF _printoperationpreview)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackReady
void callBackReady(GtkPrintOperationPreview* printoperationpreviewStruct, GtkPrintContext* context, PrintOperationPreviewIF _printoperationpreview)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_onGotPageSizeListeners
void delegate(PrintContext, PageSetup, PrintOperationPreviewIF)[] _onGotPageSizeListeners;
Undocumented in source.
_onReadyListeners
void delegate(PrintContext, PrintOperationPreviewIF)[] _onReadyListeners;
Undocumented in source.
connectedSignals
int[string] connectedSignals;
Undocumented in source.

Meta