def __init__(self, text="", maxSize = False, type = TEXT):
GUIComponent.__init__(self)
VariableText.__init__(self)
def __init__(self, text="", maxSize = False, type = TEXT):
GUIComponent.__init__(self)
VariableText.__init__(self)
def createWidget(self, parent):
return eLabel(parent, self.currPos)
def createWidget(self, parent):
return eLabel(parent, self.currPos)
newNumber = str(int(self.Text[self.currPos]) - 1)
self.Text = self.Text[0:self.currPos] + newNumber + self.Text[self.currPos + 1:]
self.update()
newNumber = str(int(self.Text[self.currPos]) - 1)
self.Text = self.Text[0:self.currPos] + newNumber + self.Text[self.currPos + 1:]
self.update()