GimpUi.ColorProfileStore.prototype.add_file
function add_file(file: Gio.File, label: String): void {
// Gjs wrapper for gimp_color_profile_store_add_file()
}
Adds a color profile item to the GimpUi.ColorProfileStore. Items added with this function will be kept at the top, separated from the history of last used color profiles.
This function is often used to add a selectable item for the null file. If you pass null for both file and label, the label will be set to the string "None" for you (and translated for the user).
Since 2.10
- file
Gio.File of the profile to add (or null)
- label
label to use for the profile (may only be null if file is null)