Schnittstelle FileIface.OnGetRelativePath

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.OnGetRelativePath
  • Methodendetails

    • onGetRelativePath

      Str onGetRelativePath(CallbackHandler __self, @Nonnull File parent, @Nonnull File descendant)
      Parameter:
      parent - input #GFile
      descendant - input #GFile
      Gibt zurück:
      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.