Schnittstelle FileIface.OnSetAttribute

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

@FunctionalInterface public static interface FileIface.OnSetAttribute
  • Methodendetails

    • onSetAttribute

      boolean onSetAttribute(CallbackHandler __self, @Nonnull File file, @Nonnull Str attribute, int type, @Nullable Pointer value_p, int flags, @Nullable Cancellable cancellable)
      Parameter:
      file - input #GFile
      attribute - a string containing the attribute's name
      type - The type of the attribute
      value_p - a pointer to the value (or the pointer itself if the type is a pointer type)
      flags - a set of #GFileQueryInfoFlags
      cancellable - optional #GCancellable object, %NULL to ignore
      Gibt zurück:
      %TRUE if the attribute was set, %FALSE otherwise.