Re: [Tkinter-discuss] Getting object Y pos in Canvas

2011-12-18 Thread Michael Lange
Thus spoketh Martin B unto us on Sun, 18 Dec 2011 17:32:34 +0100: > V Sun, 18 Dec 2011 16:48:40 +0100 > Martin B napsáno: > > sry i forgot add tag to object. > now i get bounding box of objects with canvas.bbox('mytag') > Oops, sure you're right, it must be bbox() not coords() (^.^;) Mich

Re: [Tkinter-discuss] Getting object Y pos in Canvas

2011-12-18 Thread Michael Lange
Hi Martin, Thus spoketh Martin B unto us on Sun, 18 Dec 2011 16:48:40 +0100: > Hi all, > For my little app i need know last Y coord of object i created on > Canvas. > 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 >

Re: [Tkinter-discuss] Getting object Y pos in Canvas

2011-12-18 Thread Martin B
V Sun, 18 Dec 2011 16:48:40 +0100 Martin B napsáno: sry i forgot add tag to object. now i get bounding box of objects with canvas.bbox('mytag') sry once more. > Hi all, > For my little app i need know last Y coord of object i created on > Canvas. > I'm creating a text Object. For his last X coo

[Tkinter-discuss] Getting object Y pos in Canvas

2011-12-18 Thread Martin B
Hi all, For my little app i need know last Y coord of object i created on Canvas. 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_