Drawing onto a text widget in tkinter

前端 未结 1 1790
夕颜
夕颜 2021-01-27 19:30

I was wondering whether it is possible to use some of the tkinter canvas drawing methods on a text widget. Ideally I would have the text widget placed onto the canvas so that I

相关标签:
1条回答
  • 2021-01-27 19:46

    No, it is not possible to draw over or into a tkinter Text widget. You can, however, add text to a canvas with the create_text method and draw over that.

    0 讨论(0)
提交回复
热议问题