get_capabilities


Description:

public PrintCapabilities get_capabilities ()

Returns the printer’s capabilities.

This is useful when you’re using `GtkPrintUnixDialog`’s manual-capabilities setting and need to know which settings the printer can handle and which you must handle yourself.

This will return 0 unless the printer’s details are available, see [method@Gtk.Printer.has_details] and [ method@Gtk.Printer.request_details].

Parameters:

this

a `GtkPrinter`

Returns:

the printer’s capabilities