Sets or gets the text of any label.
Définit le text d'une étiquette ou retourne le texte courant.
_label_ : ObjGtk : any label already created.
_string_ : S : the new text. If nil, the function will return the current text.
_flag_ : I : the text _string_ contains : 1 -> mnenomic, 2 -> markup, 3 -> both, else nothing
Return : S : thetext of the label or nil if error.
typeof win = ObjGtk;; typeof object = ObjGtk;; fun end (obj, u)= _gtkMainQuit; _closemachine; 0;; fun main ()= _showconsole; set win = _gtkWindowNew _channel nil "My test" SGTK_POS_MOUSE; _gtkWindowResize win 400 400; _gtkWindowCBdestroy win @end nil; set object = _gtkLabelNew _channel "a new label"; _gtkLabelText object "It's a <span style=\"italic\">New</span> _label" 3; /* with mnemonic and markup */ _gtkWidgetAddContainer win object; _gtkWidgetShow win; _gtkMain; 0;;
