- def createWidget(self, parent):
- # by default, we use a label to display our data.
- g = eLabel(parent)
- return g
+ def disablePolling(self):
+ self.enablePolling(interval=0)
+
+ def poll(self):
+ pass
+
+class PerServiceDisplay(PerServiceBase, VariableText, GUIComponent):
+ """Mixin for building components which display something which changes on navigation events, for example "service name" """
+ def __init__(self, navcore, eventmap):
+ GUIComponent.__init__(self)
+ VariableText.__init__(self)
+ PerServiceBase.__init__(self, navcore, eventmap)
+
+ def destroy(self):
+ PerServiceBase.destroy(self)
+ GUIComponent.destroy(self)