Class
GtkPrinter
[−]
Description [src]
final class Gtk.Printer : GObject.Object
{
/* No available fields */
}
Represents a printer.
You only need to deal directly with printers if you use the
non-portable GtkPrintUnixDialog
API.
A GtkPrinter
allows to get status information about the printer,
such as its description, its location, the number of queued jobs,
etc. Most importantly, a GtkPrinter
object can be used to create
a GtkPrintJob
object, which lets you print to the printer.
[−]
Instance methods
gtk_printer_get_state_message
Returns the state message describing the current state of the printer.
gtk_printer_is_virtual
Returns whether the printer is virtual (i.e. does not represent actual printer hardware, but something like a CUPS class).
[−]
Signals
Gtk.Printer::details-acquired
Emitted in response to a request for detailed information about a printer from the print backend.