1self.canvas = Canvas(root, width=800, height=650, bg = '#afeeee')
2self.canvas.create_text(100,10,fill="darkblue",font="Times 20 italic bold",
3 text="Click the bubbles that are multiples of two.")
1#here im giving you an example of how you can change canvas text, u have to use itemconfig :)
2
3self.canvas = Canvas(root, width=800, height=650, bg = '#afeeee')
4mytext = self.canvas.create_text(100,10,fill="darkblue",font="Times 20 italic bold",text="Click the bubbles that are multiples of two.")
5#here ill edit the text.
6
7time.sleep(1)
8
9self.canvas.itemcongig(mytext, text="text has changed!")
1#here im giving you an example of how you can change canvas text, u have to use itemconfig
2
3self.canvas = Canvas(root, width=800, height=650, bg = '#afeeee')
4mytext = self.canvas.create_text(100,10,fill="darkblue",font="Times 20 italic bold",text="Click the bubbles that are multiples of two.")
5#here ill edit the text
6
7time.sleep(1)
8
9self.canvas.itemconfig(mytext, text="text has changed!")
10
11#this is an edit because for accident i typed some text wrong, this is fix