I need to draw rounded rectangles around some words in a tk.Text widget. How to do this? Is there some kind of Text’s internal “canvas”?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot do what you want; there is no internal canvas on which to draw.
You can highlight regions of text, and place a border around regions of text, but you can’t draw on it.