Interface FileIface.OnGetRelativePath

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

    • onGetRelativePath

      Str onGetRelativePath(CallbackHandler __self, @Nonnull File parent, @Nonnull File descendant)
      Parameters:
      parent - input #GFile
      descendant - input #GFile
      Returns:
      string with the relative path from @descendant to @parent, or %NULL if @descendant doesn't have @parent as prefix. The returned string should be freed with g_free() when no longer needed.