<?xml version="1.0"?>
<page id="GimpUi.ProcedureDialog.fill_flowbox"
      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.ProcedureDialog" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gtk.Widget</api:type>
      </api:returns>
      <api:name>gimp_procedure_dialog_fill_flowbox_list</api:name>
      <api:arg>
        <api:type>String</api:type>
        <api:name>container_id</api:name>
      </api:arg>
      <api:arg>
        <api:type>Array(String)</api:type>
        <api:name>properties</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.ProcedureDialog.prototype.fill_flowbox</title>
  <synopsis><code mime="text/x-gjs">
function fill_flowbox(container_id: String, properties: Array(String)): <link href="../Gtk-3.0/Gtk.Widget.html">Gtk.Widget</link> {
    // Gjs wrapper for gimp_procedure_dialog_fill_flowbox_list()
}
  </code></synopsis>
  <p>Creates and populates a new <link href="../Gtk-3.0/Gtk.FlowBox.html">Gtk.FlowBox</link> with widgets corresponding to
every listed <code>properties</code>. If the list is empty, the created flowbox
will be filled by the whole list of properties of the associated
<link href="../Gimp-3.0/Gimp.Procedure.html">Gimp.Procedure</link>, in the defined order. This is similar of how
<link xref="GimpUi.ProcedureDialog.fill"/> works except that it creates a new
widget which is not inside <code>dialog</code> itself.</p>  <p>The <code>container_id</code> must be a unique ID which is neither the name of a
property of the <link href="../Gimp-3.0/Gimp.ProcedureConfig.html">Gimp.ProcedureConfig</link> associated to <code>dialog</code>, nor is it
the ID of any previously created container. This ID can later be used
together with property names to be packed in other containers or
inside <code>dialog</code> itself.</p>

<terms>
<item>
<title><code>container_id</code></title>
  <p>a container identifier.</p>
</item>
<item>
<title><code>properties</code></title>
  <p>the list of property names.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>the <link href="../Gtk-3.0/Gtk.FlowBox.html">Gtk.FlowBox</link> representing @property. The
                          object belongs to <code>dialog</code> and must not be
                          freed.</p>
</item>
</terms>

</page>
