Up
_gtkLabelSet
_gtkLabelSet
changes the text in a
Label
object. Any old content will be overwritten.
Prototype : fun [ObjGtkLabel S I] ObjGtkLabel
ObjGtkLabel
: the Label object.
S
: the new content.
I
: a flag.
LABEL_SET_SIMPLE (or 0) : the content is basic, without mnemonic or markup;
LABEL_SET_SIMPLE_MNEMONIC : the content is basic and contains a mnemonic;
LABEL_SET_MARKUP : the content has one or more markups;
LABEL_SET_MARKUP_MNEMONIC : the content has a mnemonic and one or more markups;
LABEL_SET_ATTRIBUTES : not implemented yet, don't use at this time.
Return
ObjGtkLabel : the same Label object or nil if an error occurs.
See also
_gtkLabelAdd
_gtkLabelGet
Example