FileEnumerator.getChild

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 g_file_enumerator_next_file().

This is a convenience method that's equivalent to: |[<!-- language="C" --> gchar *name = g_file_info_get_name (info); GFile *child = g_file_get_child (g_file_enumerator_get_container (enumr), name); ]|

class FileEnumerator
getChild

Parameters

info FileInfo

a #GFileInfo gotten from g_file_enumerator_next_file() or the async equivalents.

Return Value

Type: FileIF

a #GFile for the #GFileInfo passed it.

Meta

Since

2.36