ColorProfileComboBox.with_model


Description:

[ CCode ( cname = "gimp_color_profile_combo_box_new_with_model" , has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( since = "2.4" ) ]
public ColorProfileComboBox.with_model (Widget dialog, TreeModel model)

This constructor is useful when you want to create several combo-boxes for profile selection that all share the same ColorProfileStore.

This is for example done in the GIMP Preferences dialog.

See also ColorProfileComboBox.

Parameters:

dialog

a Dialog to present when the user selects the "Select color profile from disk..." item

model

a ColorProfileStore object

Returns:

a new ColorProfileComboBox.