Virtual Method

GtkPrintOperationPreviewrender_page

since: 2.10

Declaration [src]

void
render_page (
  GtkPrintOperationPreview* preview,
  gint page_nr
)

Description [src]

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

A custom iprint 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.

Available since: 2.10

Parameters

page_nr

Type: gint

The page to render.