GimpUi.ProcedureDialog.get_label
@accepts(GimpUi.ProcedureDialog, unicode, unicode, bool, bool)
@returns(Gtk.Widget)
def get_label(self, label_id, text, is_markup, with_mnemonic):
# Python 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 self, then it will sync to the property value. In this case, text should be None.
If label_id is a unique ID which is neither the name of a property of the Gimp.ProcedureConfig associated to self, 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 self itself.
- self
- 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