3 class VariableText(object):
4 """VariableText can be used for components which have a variable text, based on any widget with setText call"""
11 def setText(self, text):
14 self.instance.setText(self.message)
16 def setMarkedPos(self, pos):
18 self.instance.setMarkedPos(int(pos))
23 text = property(getText, setText)
25 def postWidgetCreate(self, instance):
26 instance.setText(self.message)