Function

Gtk.enumerate_printers

Declaration [src]

void
gtk_enumerate_printers (
  GtkPrinterFunc func,
  gpointer data,
  GDestroyNotify destroy,
  gboolean wait
)

Description [src]

Calls a function for all GtkPrinters.

If func returns TRUE, the enumeration is stopped.

Parameters

func GtkPrinterFunc
 

a function to call for each printer

data gpointer
 

user data to pass to func

destroy GDestroyNotify
 

function to call if data is no longer needed

wait gboolean
 

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