PrintOperationPreviewT

Members

Classes

OnGotPageSizeDelegateWrapper
class OnGotPageSizeDelegateWrapper
Undocumented in source.
OnReadyDelegateWrapper
class OnReadyDelegateWrapper
Undocumented in source.

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

Get the main Gtk struct

internalRemoveOnGotPageSize
void internalRemoveOnGotPageSize(OnGotPageSizeDelegateWrapper source)
Undocumented in source. Be warned that the author may not have intended to support it.
internalRemoveOnReady
void internalRemoveOnReady(OnReadyDelegateWrapper source)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Static functions

callBackGotPageSize
void callBackGotPageSize(GtkPrintOperationPreview* printoperationpreviewStruct, GtkPrintContext* context, GtkPageSetup* pageSetup, OnGotPageSizeDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackGotPageSizeDestroy
void callBackGotPageSizeDestroy(OnGotPageSizeDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackReady
void callBackReady(GtkPrintOperationPreview* printoperationpreviewStruct, GtkPrintContext* context, OnReadyDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackReadyDestroy
void callBackReadyDestroy(OnReadyDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

onGotPageSizeListeners
OnGotPageSizeDelegateWrapper[] onGotPageSizeListeners;
Undocumented in source.
onReadyListeners
OnReadyDelegateWrapper[] onReadyListeners;
Undocumented in source.

Meta