Schnittstelle LoadableIconIface.OnLoad

Umschließende Klasse:
LoadableIconIface
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface LoadableIconIface.OnLoad
  • Methodendetails

    • onLoad

      InputStream onLoad(CallbackHandler __self, @Nonnull LoadableIcon icon, int size, @Nullable Strs type, @Nullable Cancellable cancellable)
      Parameter:
      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.
      Gibt zurück:
      a #GInputStream to read the icon from.