enumeratePrinters

fnvoid enumeratePrinters(gtk.types.PrinterFunc func, bool wait)

Calls a function for all [gtk.printer.Printer]s.

If func returns true, the enumeration is stopped.

Parameters

funca function to call for each printer
waitif true, wait in a recursive mainloop until all printers are enumerated; otherwise return early