Function
Gtkenumerate_printers
Declaration [src]
void
gtk_enumerate_printers (
GtkPrinterFunc func,
gpointer data,
GDestroyNotify destroy,
gboolean wait
)
Description [src]
Calls a function for all printers that are known to GTK.
If func returns true, the enumeration is stopped.
Parameters
func-
Type:
GtkPrinterFuncA function to call for each printer.
data-
Type:
gpointerUser data to pass to
func.The argument can be NULL.The data is owned by the caller of the function. destroy-
Type:
GDestroyNotifyFunction to call if
datais no longer needed. wait-
Type:
gbooleanIf true, wait in a recursive mainloop until all printers are enumerated; otherwise return early.