PrinterFunc

typealias PrinterFunc = (printer: Printer) -> Boolean

The type of function passed to gtk_enumerate_printers().

Note that you need to ref @printer, if you want to keep a reference to it after the function has returned.

  • param printer a GtkPrinter

  • return true to stop the enumeration, false to continue