Gio.FileInfo.prototype.set_symbolic_icon

function set_symbolic_icon(icon: Gio.Icon): void {
    // Gjs wrapper for g_file_info_set_symbolic_icon()
}
  

Sets the symbolic icon for a given Gio.FileInfo. See %G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON.

Since 2.34

icon

a Gio.Icon.