From 98c4b5bb004e9297bffa8e1c3572572741fda933 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Fri, 8 Jul 2005 16:41:35 +0000 Subject: - 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 --- lib/python/Components/VariableText.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/python/Components/VariableText.py') diff --git a/lib/python/Components/VariableText.py b/lib/python/Components/VariableText.py index 694355e7..76dc201a 100644 --- a/lib/python/Components/VariableText.py +++ b/lib/python/Components/VariableText.py @@ -1,3 +1,5 @@ +import skin + class VariableText: """VariableText can be used for components which have a variable text, based on any widget with setText call""" @@ -13,8 +15,8 @@ class VariableText: def getText(self): return self.message - def GUIcreate(self, parent, skindata): - self.instance = self.createWidget(parent, skindata) + def GUIcreate(self, parent): + self.instance = self.createWidget(parent) self.instance.setText(self.message) def GUIdelete(self): -- cgit v1.2.3