Create a combo-box widget for selecting color profiles.
The combo-box is populated from the file specified as history. This filename is typically created using the following code
snippet: <informalexample><programlisting> gchar *history = gimp_personal_rc_file ("profilerc"); </programlisting><
/informalexample>
The recommended dialog type to use is a
ColorProfileChooserDialog. If a ColorProfileChooserDialog is
passed, ColorProfileComboBox will take complete control over the dialog,
which means connecting a GtkDialog:GimpColorProfileComboBox:response() callback by itself, and take care of destroying the
dialog when the combo box is destroyed.
If another type of dialog is passed, this has to be implemented separately.
See also ColorProfileComboBox.with_model.
| dialog |
a Dialog to present when the user selects the "Select color profile from disk..." item |
| history |
File of the profilerc (or null for no history) |
|
a new ColorProfileComboBox. |