Interface FileIface.OnGetBasename

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

    • onGetBasename

      Str onGetBasename(CallbackHandler __self, @Nonnull File file)
      Parameters:
      file - input #GFile
      Returns:
      string containing the #GFile's base name, or %NULL if given #GFile is invalid. The returned string should be freed with g_free() when no longer needed.