# GimpUi.ProcedureDialog.prototype.get_label

    function get_label(label_id: String, text: String, is_markup: Boolean, with_mnemonic: Boolean): 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.

If label_id is an existing string property of the Gimp.ProcedureConfig associated to dialog, then it will sync to the property value. In this case, text should be null.

If label_id is 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, it will be initialized to text. 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.

is_markup

  whether text is formatted with Pango markup.

with_mnemonic

  whether text contains a mnemonic character.

Returns

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