Printer.enumeratePrinters

Calls a function for all GtkPrinters. If func returns TRUE, the enumeration is stopped. Since 2.10

class Printer
static
void
enumeratePrinters

Parameters

func GtkPrinterFunc

a function to call for each printer

data void*

user data to pass to func

destroy GDestroyNotify

function to call if data is no longer needed

wait int

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

Meta