Hi,

   I am using python and tkinter. My question is a simple one. How 
to find number of pixels that a text occupies in canvas? In 
otherwords how can i get the width of the text whose width is not 
set explicitly? I have placed a text, say "Hello World",  in the 
canvas using "create_text" and want to find number pixels that it 
occupies.

The text is created as follows.
          self.canvas.create_text(100,100, text="Hello World"))
    The text starts at 100,100 and how to find the ending points 
of the text?
    I need the solution urgently. Please give your comments as 
soon as possible.

With Regards
Suresh.

___________________________________________________
Get email that means BUSINESS! me @ mycompany.com.
Just Rs.1499/year.
To start, click http://www.rediffmailpro.com




