PrintJob


Object Hierarchy:

Object hierarchy for PrintJob

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].


Namespace: Gtk
Package: gtk4-unix-print

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members: