Getting all set attributes of a Tkinter widget?

Mickel Grönroos mickel at csc.fi
Mon Jun 23 02:37:51 EDT 2003


Hi everybody,

How do I get the names of all available attributes (variables, methods) a
Tkinter widget has? Seems to me this should be really easy, but I just
can't seem to get it right (my mind is a blank). I tried widget.__dict__
but that didn't get me anywhere. Any ideas?

Cheers,

/Mickel Grönroos
--
Mickel Grönroos, application specialist, linguistics, Research support, CSC
PL 405 (Tekniikantie 15 a D), 02101 Espoo, Finland, phone +358-9-4572237
CSC is the Finnish IT center for science, www.csc.fi






More information about the Python-list mailing list