summaryrefslogtreecommitdiff
path: root/gtk/gtkprintjob.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-01-14 18:39:01 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-01-14 18:39:01 -0500
commit00a3685f416b531b0bf4a21213caf08e647c0970 (patch)
treedbc652fe52f3016a313f15873d8661c99e720d8e /gtk/gtkprintjob.c
parent6cf78a12c1e179b2d5eef4f045e242ceae475709 (diff)
downloadgtk+-00a3685f416b531b0bf4a21213caf08e647c0970.tar.gz
Move GtkPrintJob docs inline
Diffstat (limited to 'gtk/gtkprintjob.c')
-rw-r--r--gtk/gtkprintjob.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gtk/gtkprintjob.c b/gtk/gtkprintjob.c
index d96af1ed48..d37e1221a9 100644
--- a/gtk/gtkprintjob.c
+++ b/gtk/gtkprintjob.c
@@ -17,6 +17,21 @@
* Boston, MA 02111-1307, USA.
*/
+/**
+ * SECTION:gtkprintjob
+ * @Title: GtkPrintJob
+ * @Short_description: Represents a print job
+ *
+ * A #GtkPrintJob object represents a job that is sent to a
+ * printer. You only need to deal directly with print jobs if
+ * you use the non-portable #GtkPrintUnixDialog API.
+ *
+ * Use gtk_print_job_get_surface() to obtain the cairo surface
+ * onto which the pages must be drawn. Use gtk_print_job_send()
+ * to send the finished job to the printer. If you don't use cairo
+ * #GtkPrintJob also supports printing of manually generated postscript,
+ * via gtk_print_job_set_source_file().
+ */
#include "config.h"
#include <stdlib.h>
#include <string.h>