add_file


Description:

[ CCode ( cname = "gimp_color_profile_store_add_file" ) ]
[ Version ( since = "2.10" ) ]
public void add_file (File file, string label)

Adds a color profile item to the 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).

Parameters:

this

a ColorProfileStore

file

File of the profile to add (or null)

label

label to use for the profile (may only be null if file is null)