gtk4Function enumerate_printers
Source pub fn enumerate_printers<P: Fn(&Printer) -> bool + Send + Sync + 'static>(
func: P,
wait: bool,
)
Available on Linux only.
Expand description
Calls a function for all Printer
s.
If @func returns true
, the enumeration is stopped.
§func
a function to call for each printer
§wait
if true
, wait in a recursive mainloop until
all printers are enumerated; otherwise return early