To get text in a Text widget.

Greg Ewing (using news.cis.dfn.de) ckea25d02 at sneakemail.com
Mon Mar 31 21:06:52 EST 2003


denis gaultier wrote:
> I just want to know how to do to get text typed in a Text widget.
> I don't know what kind of parameter I must give to the "get" function.

If you're talking about Tkinter, from memory I think
something like get(0, 'end') will get you all the text.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list