Vermont Energy Control Systems

Practical monitoring and control for the real world

Label Widget

Screenshot of a label screenshot of the code to create a label label widget in the menu bar

The label widget only serves to place text on the panel. It does not connect to an element and does not update. The size of the text can be specified.

Because the label widget does not connect to any element, the element field can contain any element number - the value is not used. The label widget has three additional parameters, all required.

Parameter Value in Example Description If Not Present Default
Font size 16 Height of font in pixels Required 20
Position e Position of label relative to specified coordinates n, e, s, or w for north, east, south, and west Required e
Label Text Dials Label text to be displayed to left of widget Required Label