enumeratePrinters

Calls a function for all gtk.printer.Printers.

If func returns true, the enumeration is stopped.

void
enumeratePrinters

Parameters

func gtk.types.PrinterFunc

a function to call for each printer

wait bool

if true, wait in a recursive mainloop until all printers are enumerated; otherwise return early