Interface FileIface.OnSetAttribute

Enclosing class:
FileIface
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 FileIface.OnSetAttribute
  • Method Details

    • onSetAttribute

      boolean onSetAttribute(CallbackHandler __self, @Nonnull File file, @Nonnull Str attribute, int type, @Nullable Pointer value_p, int flags, @Nullable Cancellable cancellable)
      Parameters:
      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
      Returns:
      %TRUE if the attribute was set, %FALSE otherwise.