Return a new #GFile which refers to the file named by info in the source directory of enumerator. This function is primarily intended to be used inside loops with gio.file_enumerator.FileEnumerator.nextFile.
To use this, gio.types.FILE_ATTRIBUTE_STANDARD_NAME must have been listed in the attributes list used when creating the #GFileEnumerator.
This is a convenience method that's equivalent to:
gchar *name = g_file_info_get_name (info); GFile *child = g_file_get_child (g_file_enumerator_get_container (enumr), name);
a #GFileInfo gotten from gio.file_enumerator.FileEnumerator.nextFile or the async equivalents.
a #GFile for the #GFileInfo passed it.
Return a new #GFile which refers to the file named by info in the source directory of enumerator. This function is primarily intended to be used inside loops with gio.file_enumerator.FileEnumerator.nextFile.
To use this, gio.types.FILE_ATTRIBUTE_STANDARD_NAME must have been listed in the attributes list used when creating the #GFileEnumerator.
This is a convenience method that's equivalent to:
gchar *name = g_file_info_get_name (info); GFile *child = g_file_get_child (g_file_enumerator_get_container (enumr), name);