GimpUi.ProcedureDialog.prototype.fill_frame

function fill_frame(container_id: String, title_id: String, invert_title: Boolean, contents_id: String): Gtk.Widget {
    // Gjs wrapper for gimp_procedure_dialog_fill_frame()
}
  

Creates a new Gtk.Frame and packs title_id as its title and contents_id as its child. If title_id represents a boolean property, its value will be used to renders contents_id sensitive or not. If invert_title is TRUE, then sensitivity binding is inverted.

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.

title_id

the identifier for the title widget.

invert_title

whether to use the opposite value of title_id if it represents a boolean widget.

contents_id

the identifier for the contents.

Returns

the Gtk.Widget representing container_id. The object belongs to dialog and must not be freed.