summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperationpreview.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2006-08-15 19:49:27 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-08-15 19:49:27 +0000
commit895e9b3584ea626798fc6ba8b20a9981b3dd477d (patch)
treee7161453bade4391b9d2fe2d9f7921a80fb8ae75 /gtk/gtkprintoperationpreview.c
parentbede16e5865c961c1a8f2a54d56a32132cac4f37 (diff)
downloadgtk+-895e9b3584ea626798fc6ba8b20a9981b3dd477d.tar.gz
Some more printing docs
Diffstat (limited to 'gtk/gtkprintoperationpreview.c')
-rw-r--r--gtk/gtkprintoperationpreview.c9
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