Tkinter's button
Martin Franklin
mfranklin1 at gatwick.westerngeco.slb.com
Tue Nov 5 10:58:10 EST 2002
On Tue, 2002-11-05 at 03:46, black wrote:
>
> Howdy~
>
> I have a button create with this line:
> import Tkintertk=Tkinter.Tk()button=Tkinter.Button(tk)
> and I found we could add some "property" with this format:
> button["text"]="Howdy"
> is that a hint that all buttons have a predifined dictionary ? and how to check all members ? I searched tutorial about Tkinter but found nothing.
print button.config()
will list all the configuration options and values.....
you can also update widgets like:-
button.config(text="hello")
More information about the Python-list
mailing list