How to have a text that can change in some layout ?

Online Status

Hello again.

I want to have some non-editable text displayed on the layout, and be able to change the text content.
I tried class images/label.image, I can give a text at NewObject() , but then SetAttrs(label, LABEL_Text, "blabla", TAG_END) or the setGadgetAttribs() won't work. It is said in the doc it can only be set at OM_NEW.

So I may try string.gadget which is an editor, put it in read mode, but will it look like a label ?
What's the good manner ?

Online Status

This is a common question. The best thing to use for this is a button gadget without a border. That way you can update the text with SetAttr(). A label image is meant to remain static.