GimpUi.ProcedureDialog.prototype.fill_flowbox

function fill_flowbox(container_id: String, properties: Array(String)): Gtk.Widget {
    // Gjs wrapper for gimp_procedure_dialog_fill_flowbox_list()
}
  

Creates and populates a new Gtk.FlowBox with widgets corresponding to every listed properties. If the list is empty, the created flowbox will be filled by the whole list of properties of the associated Gimp.Procedure, in the defined order. This is similar of how GimpUi.ProcedureDialog.prototype.fill works except that it creates a new widget which is not inside dialog itself.

The container_id must be a unique ID which is neither the name of a property of the Gimp.ProcedureConfig associated to dialog, 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 dialog itself.

container_id

a container identifier.

properties

the list of property names.

Returns

the Gtk.FlowBox representing @property. The object belongs to dialog and must not be freed.