-from HTMLComponent import *
-from GUIComponent import *
-from VariableText import *
+from HTMLComponent import HTMLComponent
+from GUIComponent import GUIComponent
+from VariableText import VariableText
from enigma import eButton
GUI_WIDGET = eButton
def postWidgetCreate(self, instance):
+ instance.setText(self.text)
instance.selected.get().append(self.push)
+
+ def preWidgetRemove(self, instance):
+ instance.selected.get().remove(self.push)