- skins are now loaded first and applied later
[enigma2.git] / lib / python / Components / TextInput.py
index 98b440c5bd604cf4d2032ed7f2cb17ca228efb78..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,31 +0,0 @@
-from HTMLComponent import *
-from GUIComponent import *
-
-from tools import CONNECT, DISCONNECT
-
-from enigma import eInput, eInputContentString
-
-class TextInput(HTMLComponent, GUIComponent):
-       def __init__(self):
-               GUIComponent.__init__(self)
-               self.content = eInputContentString()
-
-       def contentChanged(self):
-               print "content changed to %s!" % (self.getText())
-       
-       def getText(self):
-               return self.content.getText()
-       
-       def setText(self, text):
-               # TODO :  support unicode!
-               self.content.setText(str(text))
-       
-       def GUIcreate(self, parent, skindata):
-               self.instance = eInput(parent)
-               CONNECT(self.instance.changed, self.contentChanged)
-               self.instance.setContent(self.content)
-       
-       def GUIdelete(self):
-               DISCONNECT(self.instance.changed, self.contentChanged)
-               self.instance.setContent(None)
-               self.instance = None