Gio.FileInfo.prototype.set_display_name

function set_display_name(display_name: String): void {
    // Gjs wrapper for g_file_info_set_display_name()
}
  

Sets the display name for the current Gio.FileInfo. See %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME.

display_name

a string containing a display name.