<?xml version="1.0"?>
<page id="GimpUi.ColorProfileComboBox.set_active_file"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="GimpUi.ColorProfileComboBox" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>none</api:type>
      </api:returns>
      <api:name>gimp_color_profile_combo_box_set_active_file</api:name>
      <api:arg>
        <api:type>GimpUi.ColorProfileComboBox</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>Gio.File</api:type>
        <api:name>file</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>label</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.ColorProfileComboBox.set_active_file</title>
  <synopsis><code mime="text/x-python">
@accepts(GimpUi.ColorProfileComboBox, Gio.File, unicode)
@returns(none)
def set_active_file(self, file, label):
    # Python wrapper for gimp_color_profile_combo_box_set_active_file()
  </code></synopsis>
  <p>Selects a color profile from the <code>self</code> and makes it the active
item.  If the profile is not listed in the <code>self</code>, then it is added
with the given <code>label</code> (or <code>file</code> in case that <code>label</code> is <code>None</code>).</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>self</code></title>
  <p>a <link xref="GimpUi.ColorProfileComboBox"/></p>
</item>
<item>
<title><code>file</code></title>
  <p>file of the profile to select</p>
</item>
<item>
<title><code>label</code></title>
  <p>label to use when adding a new entry (can be <code>None</code>)</p>
</item>
</terms>

</page>
