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.

@FunctionalInterface public static interface Gtk.OnPrinterFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onPrinterFunc(CallbackHandler __self, Printer printer, Pointer data)
    The type of function passed to gtk_enumerate_printers().
  • Method Details

    • onPrinterFunc

      boolean onPrinterFunc(CallbackHandler __self, @Nonnull Printer printer, @Nullable Pointer data)
      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