repositioning text in canvas TKinter

Viewed 19

I need to change position of my text made by "create_text()" . I am trying to do so with this code:

question_text = canvas.create_text(250, 125, width=490, text="Blabla")
canvas.itemconfig(question_text, x=125, y=125, width=120)

got an error:

_tkinter.TclError: unknown option "-x"

also tried without "x" and "y" keywords but didnt work:

TypeError: Canvas.itemconfigure() takes from 2 to 3 positional arguments but 4 were given

0 Answers
Related