enumerate_printers


Description:


public void enumerate_printers (owned PrinterFunc func, bool wait)

Calls a function for all printers that are known to GTK.

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

data

user data to pass to func

destroy

function to call if data is no longer needed


Namespace: Gtk