4 """VariableText can be used for components which have a variable text, based on any widget with setText call"""
10 def setText(self, text):
13 self.instance.setText(self.message)
15 def setMarkedPos(self, pos):
17 self.instance.setMarkedPos(int(pos))
22 def GUIcreate(self, parent):
23 self.instance = self.createWidget(parent)
24 self.instance.setText(self.message)
27 self.removeWidget(self.instance)
30 def removeWidget(self, instance):