Class
GtkPrintJob
Description [src]
final class Gtk.PrintJob : GObject.Object
{
/* No available fields */
}
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()
.
Instance methods
gtk_print_job_get_surface
Gets a cairo surface onto which the pages of the print job should be rendered.
gtk_print_job_set_source_file
Make the GtkPrintJob
send an existing document to the
printing system.
gtk_print_job_set_track_print_status
If track_status is TRUE
, the print job will try to continue report
on the status of the print job in the printer queues and printer.
Properties
Gtk.PrintJob:track-print-status
TRUE
if the print job will continue to emit status-changed
signals after the print data has been setn to the printer.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.