FileInfo.getDisplayName

string getDisplayName()

Gets a display name for a file. This is guaranteed to always be set.

It is an error to call this if the #GFileInfo does not contain [gio.types.FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME].

Returns

a string containing the display name.