Interface LoadableIconIface.OnLoad

Enclosing class:
LoadableIconIface
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 LoadableIconIface.OnLoad
  • Method Details

    • onLoad

      InputStream onLoad(CallbackHandler __self, @Nonnull LoadableIcon icon, int size, @Nullable Strs type, @Nullable Cancellable cancellable)
      Parameters:
      icon - a #GLoadableIcon.
      size - an integer.
      type - a location to store the type of the loaded icon, %NULL to ignore.
      cancellable - optional #GCancellable object, %NULL to ignore.
      Returns:
      a #GInputStream to read the icon from.