gtkunixprint Functionsthe built-in functions of the gtkunixprint
moduleSynopsisgtkunixprint.enumerate_printersfuncdataNonewaitTrueFunctionsgtkunixprint.enumerate_printersgtkunixprint.enumerate_printersfuncdataNonewaitTruefunc :a function to call for each
printerdata :user data to pass to
funcwait :if True, wait in a recursive
mainloop until all printers are enumerated; otherwise return
earlyThis function is available in PyGTK 2.10 and above.Calls the function specified by func for
all gtkunixprint.Printers.
If func returns True, the
enumeration is stopped.The signature of func is:
def func(printer, user_data):
where printer is a gtkunixprint.Printer
object and user_data is
data. Note if data is
not specified user_data will not be passed to
func.