FileT.getChildForDisplayName

Gets the child of @file for a given @display_name (i.e. a UTF-8 version of the name). If this function fails, it returns %NULL and @error will be set. This is very useful when constructing a #GFile for a new file and the user entered the filename in the user interface, for instance when you select a directory and type a filename in the file selector.

This call does no blocking I/O.

template FileT(TStruct)
FileIF
getChildForDisplayName
()

Parameters

displayName string

string to a possible child

Return: a #GFile to the specified child, or %NULL if the display name couldn't be converted. Free the returned object with g_object_unref().

Throws

GException on failure.

Meta