mardi 19 juillet 2016

How do I find out the size of a canvas item in Python/Tkinter?


I want to create some text in a canvas:

myText = self.canvas.create_text(5, 5, anchor=NW, text="TEST")

Now how do I find the width and height of myText?


Aucun commentaire:

Enregistrer un commentaire