<?xml version="1.0"?>
<page id="GimpUi.prop_enum_radio_frame_new"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gtk.Widget</api:type>
      </api:returns>
      <api:name>gimp_prop_enum_radio_frame_new</api:name>
      <api:arg>
        <api:type>GObject.Object</api:type>
        <api:name>config</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>property_name</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>title</api:name>
      </api:arg>
      <api:arg>
        <api:type>int</api:type>
        <api:name>minimum</api:name>
      </api:arg>
      <api:arg>
        <api:type>int</api:type>
        <api:name>maximum</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.prop_enum_radio_frame_new</title>
  <synopsis><code mime="text/x-python">
@accepts(GObject.Object, unicode, unicode, int, int)
@returns(Gtk.Widget)
def prop_enum_radio_frame_new(config, property_name, title, minimum, maximum):
    # Python wrapper for gimp_prop_enum_radio_frame_new()
  </code></synopsis>
  <p>Creates a group of radio buttons which function to set and display
the specified enum property.  The <code>minimum</code> and <code>maximum</code> arguments
allow only a subset of the enum to be used.  If the two arguments
are equal (e.g., 0, 0), then the full range of the enum will be used.
If <code>title</code> is <code>None</code>, the <code>property_name</code>'s nick will be used as label
of the returned frame.</p>
  <p>Since 2.4</p>
<terms>
<item>
<title><code>config</code></title>
  <p>Object to which property is attached.</p>
</item>
<item>
<title><code>property_name</code></title>
  <p>Name of enum property controlled by the radio buttons.</p>
</item>
<item>
<title><code>title</code></title>
  <p>Label for the frame holding the buttons</p>
</item>
<item>
<title><code>minimum</code></title>
  <p>Smallest value of enum to be included.</p>
</item>
<item>
<title><code>maximum</code></title>
  <p>Largest value of enum to be included.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
