FileInfo.setName

void setName(string name)

Sets the name attribute for the current #GFileInfo. See [gio.types.FILE_ATTRIBUTE_STANDARD_NAME].

Parameters

namea string containing a name.