SVGHMI: One class per widget type, widget objects are instances of these classes, and members are passed through constructor. This allows to keep compatible with previous widget_defs template used in most widgets.
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
def _(x):
"""No translation"""
return x
Broken = _("Broken")
Started = _("Started")
Stopped = _("Stopped")
Disconnected = _("Disconnected")
Empty = _("Empty")