[Tkinter-discuss] Getting object Y pos in Canvas

Martin B spooky.ln at tbs-software.com
Sun Dec 18 16:48:40 CET 2011

Hi all,
For my little app i need know last Y coord of object i created on
I'm creating a text Object. For his last X coord i use
font.measure('bla bla bla') this working.But i want know last Y coord
coz i need create next text object bottom.

How i get Y if i create this text object
create_text(0, 0, anchor='nw', text='bla\n bla\n bla', font=boldfont)


More information about the Tkinter-discuss mailing list