GimpUi.ProcedureDialog.prototype.get_label
function get_label(label_id: String, text: String): Gtk.Widget {
// Gjs wrapper for gimp_procedure_dialog_get_label()
}
Creates a new Gtk.Label with text. It can be useful for packing textual information in between property settings.
The label_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 label or container. This ID can later be used together with property names to be packed in other containers or inside dialog itself.
- label_id
the label for the Gtk.Label.
- text
the text for the label.
- Returns
the Gtk.Widget representing label_id. The object belongs to dialog and must not be freed.