diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-07-08 16:41:35 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-07-08 16:41:35 +0000 |
| commit | 98c4b5bb004e9297bffa8e1c3572572741fda933 (patch) | |
| tree | fcd68e1dc4f97d0778348ae54e637368a80186ae /lib/python/Components/TextInput.py | |
| parent | db493da3936b21410730a1c299b4c6937d56ca4e (diff) | |
| download | enigma2-98c4b5bb004e9297bffa8e1c3572572741fda933.tar.gz enigma2-98c4b5bb004e9297bffa8e1c3572572741fda933.zip | |
- skins are now loaded first and applied later
- this allows use skin information to build special eWidgets, depending on skin
- add "applet"-feature: code which is executed from skin
- example: centering of messagebox
Diffstat (limited to 'lib/python/Components/TextInput.py')
| -rw-r--r-- | lib/python/Components/TextInput.py | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/python/Components/TextInput.py b/lib/python/Components/TextInput.py index 98b440c5..e69de29b 100644 --- a/lib/python/Components/TextInput.py +++ b/lib/python/Components/TextInput.py @@ -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 |
