Package ch.bailu.gtk.gtk
Interface Gtk.OnPrinterFunc
- Enclosing class:
- Gtk
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onPrinterFunc
(CallbackHandler __self, Printer printer, Pointer data) The type of function passed to gtk_enumerate_printers().
-
Method Details
-
onPrinterFunc
The type of function passed to gtk_enumerate_printers().
Note that you need to ref @printer, if you want to keep
a reference to it after the function has returned.- Parameters:
printer
- a `GtkPrinter`data
- user data passed to gtk_enumerate_printers()- Returns:
- %TRUE to stop the enumeration, %FALSE to continue
-