enumeratePrinters

Calls a function for all GtkPrinters.

If @func returns true, the enumeration is stopped.

Parameters

func

a function to call for each printer

wait

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