diff options
Diffstat (limited to 'gtk/gtkprintoperationpreview.c')
-rw-r--r-- | gtk/gtkprintoperationpreview.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk/gtkprintoperationpreview.c b/gtk/gtkprintoperationpreview.c index a3357cfaf6..1861d81ddf 100644 --- a/gtk/gtkprintoperationpreview.c +++ b/gtk/gtkprintoperationpreview.c @@ -93,7 +93,12 @@ gtk_print_operation_preview_base_init (gpointer g_iface) * @preview: a #GtkPrintOperationPreview * @page_nr: the page to render * - * Renders a page to the preview. + * Renders a page to the preview, using the print context that + * was passed to the GtkPrintOperation::preview handler together + * with @preview. + * + * Note that this function requires a suitable cairo context to + * be associated with the print context. * * Since: 2.10 */ @@ -113,6 +118,8 @@ gtk_print_operation_preview_render_page (GtkPrintOperationPreview *preview, * * Ends a preview. * + * This function must be called to finish a custom print preview. + * * Since: 2.10 */ void |