class AlarmBox(Widget):
hour = ["12","1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"]
tensMin = ["0", "1", "2", "3", "4", "5"]
onesMin = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
day = ["AM", "PM"]
txt_inpt = ObjectProperty(None)
def print1(self):
self.txt_inpt.text("HI")
XXXXXXX
How do I call print1 within the object?
I tried doing at XXXXXX
- self.print1()
- self.print1(self)
- print1(self)
- primt1()
- c = AlarmBox()
- c.print1()
in java you can do:
this.print1() or print1() !