sholden at holdenweb.com
Thu Oct 26 21:57:30 CEST 2000
Fredrik Lundh wrote:
> Steve wrote:
> > Hope this helps.
> not that he's ever gonna tell us (why make it *easy* for
> people to help you, when you can waste everybody's time
> by playing stupid guessing games?), but it doesn't look like
> he's using Tkinter:
> >>> w = Tkinter.Button()
> >>> type(w)
> <type 'instance'>
> >>> w
> <Tkinter.Button instance at 95b938>
> >>> print w
Doesn't look like he's using his intelligence either, but does
this stop us trying? ;-)
> (Tkinter's __str__ method returns the internal widget name,
> which always starts with a dot)
I should have remembered this.
> btw, in Tkinter, you can get the button label as first["text"].
> Data entry widgets usually provide a "get" method.
That's useful. I haven't done too much playing with Tkinter yet:
just enough to get myself in deepre than I wanted to be ...
Helping people meet their information needs with training and technology.
703 967 0887 sholden at bellatlantic.net http://www.holdenweb.com/
More information about the Python-list