[Tutor] Can we add labels to tkinter canvas..?
Alan Gauld
alan.gauld at btinternet.com
Mon Jan 22 18:47:14 CET 2007
"Asrarahmed Kadri" <ajkadri at googlemail.com> wrote in message
news:b4e894c70701220538n435c9d90je6194e0efc30d338 at mail.gmail.com...
> Hello Folks,
>
> Is it possible to add a Label to tkinter canvas or i'll need to use
> create_text method ?
What exactly do you expect a label in a canvas to do?
Or to look like?
You can attach a label to a canvas externally by wrapping them
in a single Frame, does that do what you want? Othewise just
putting a bit of text onto the canvas itself seems the best bet.
What would the lavbel do for you that a bit of text wouldn't?
--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Tutor
mailing list