PrintJob
Object Hierarchy:
Description:
[
CCode ( type_id =
"gtk_print_job_get_type ()" ) ]
public class PrintJob :
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 [class@Gtk.PrintUnixDialog] API.
Use [method@Gtk.PrintJob.get_surface] to obtain the cairo surface onto which the pages must be drawn. Use [method@Gtk.PrintJob.send] to
send the finished job to the printer. If you don’t use cairo `GtkPrintJob` also supports printing of manually generated PostScript, via
[method@Gtk.PrintJob.set_source_file].
Content:
Properties:
- public PageSetup page_setup { owned get; construct; }
Page setup.
- public Printer printer { get; construct; }
The printer to send the job to.
- public PrintSettings settings { get; construct; }
Printer settings.
- public string title { get; construct; }
The title of the print job.
- public bool track_print_status { get; set; }
true if the print job will continue
to emit status-changed signals after the print data has been setn to the printer.
Creation methods:
Methods:
Signals:
Inherited Members:
All known members inherited from class GLib.Object