Package: gtk

Function gtk:print-operation-preview-render-page

Lambda List

gtk:print-operation-preview-render-page (preview page-nr)

Arguments

preview -- a gtk:print-operation-preview object
page-nr -- the number of the page to render

Details

Renders a page to the preview, using the print context that was passed to the "preview" handler together with preview. A custom print preview should use this function in its "expose" handler to render the currently selected page. Note that this function requires a suitable Cairo context to be associated with the print context.
 

See also

#2023-8-28