[Tutor] Undrawing text
Michael P. Reilly
arcege@shore.net
Tue, 14 Nov 2000 12:42:21 -0500 (EST)
> > > in my graphics window i want to update a count for every
> > > mouse click i make.......
> >
> > OK, What graphics system are you using? It doesn't
> > look like the default Python toolkit of Tkinter...
>
> Hmm, I see from other posts that it is Tkinter...
>
> > > count=count+1
> > > counter=Text(Point(320,240),count).draw(win1)
>
> So what does the draw method of the Text widget
> return? I'm curious but too lazy to go online
> and check :-/
That is because there is no "draw" method for Tkinter. The initial
poster didn't mention what GUI package was being used, but I figured
out right away that it wasn't Tkinter.
-Arcege
--
------------------------------------------------------------------------
| Michael P. Reilly, Release Manager | Email: arcege@shore.net |
| Salem, Mass. USA 01970 | |
------------------------------------------------------------------------