class ui.item.label
Contract
Parameter keyDefault valueType
nameoptstring
labelnullstring
xactive_valuenonnegative
yactive_valuenonnegative
widthactive_valuenonnegative
heightactive_valuenonnegative
foreground_colorblackcolor
background_colorwhitecolor
visibilityactive_valueboolean
tool_tipnulltype.<one_of string/>
Parameter kindDefault valueType
Other unkeyed argumentsopt with ekind of mixedwob
Water Contract
<class ui.item.label
  name          =opt=string
  label         =null=string
  _other_unkeyed=opt=wob=ekind.mixed="_add_to_environment"
/>
label just displays the label of the instance of label. labels do not have a the_value field nor a click method.
ui.<window name="mywin">
    null
    ui.<label name="mylab"/>
   </window>
Like button and image, the displayed label can be a string starting with &lt;html
ui.<window name="mywin">
    null
    ui.<label name="mylab" label="<html> <h1> big label </h1> </html>"/>
   </window>
labels are often used when you want to programmatically update a word in a window.
ui.<window name="mywin">
 null
 ui.<label name="mylab"/>
</window>
ui.mywin.center.<set label="yourlab"/>