On May 8, 6:51 pm, James Stroud <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi, > > If I have abuttonwidget > > > w =Button(root, text = "Button", state = 'disabled') > > > How can I get the value of option 'state' from the widget 'w'. > > I want something like -- > > > print w.state >> to print out >> 'disabled' > > > Thanks > > Rahul > > print w["state"] > > James
Thanks! James -- http://mail.python.org/mailman/listinfo/python-list