tkinter canvas
Gigs_
gigs at hi.t-com.hr
Thu Apr 19 08:24:26 EDT 2007
kyosohma at gmail.com wrote:
> On Apr 18, 3:43 pm, Gigs_ <g... at hi.t-com.hr> wrote:
>> how to write text on canvas. i know that i need to use canvas.create_text, but
>> how to write text than when i create_text?
>> or how to access object ID in canvas and change some options?
>>
>> thanks in advance!
>
> All you need to do is canvas.create_text(x, y, text='Hello World')
> where x and y are coordinates on the canvas. You can also add fg and/
> or bg to set foreground and background colors, respectively.
>
> Mike
>
but is there any option to bind event?
when i create text i want to write in text box on canvas so i think that i need
to bind event
More information about the Python-list
mailing list