Interface FileIface.OnSetDisplayName

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.OnSetDisplayName
  • Method Details

    • onSetDisplayName

      File onSetDisplayName(CallbackHandler __self, @Nonnull File file, @Nonnull Str display_name, @Nullable Cancellable cancellable)
      Parameters:
      file - input #GFile
      display_name - a string
      cancellable - optional #GCancellable object, %NULL to ignore
      Returns:
      a #GFile specifying what @file was renamed to, or %NULL if there was an error. Free the returned object with g_object_unref().