[Tutor] Text Box

alan.gauld@bt.com alan.gauld@bt.com
Fri, 30 Mar 2001 16:32:47 +0100


> > if textwidget.get(1.0,END) == "":
> try putting the index inside quotes:
> 
> if textwidget.get('1.0',END) == "":

Hmm, it doesn't because of the line end but interestingly 
missing the quotes does work - unlike Tcl/Tk...

I assume because Tkinter wraps the arguments as strings 
before passing them to Tcl anyway...

I really must try these things before I post them :-)

Alan g.