John McMonagle wrote: > [EMAIL PROTECTED] wrote: >> I am new to Tkinter. Following an example, I executed the following: >> >> window = Tk() >> b = Button(window) >> b.configure(bg = '#FF00FF') >> b.grid(row = 0, column = 0) >> >> how can I later get the value of this button's background color? >> >> Thanks. >> > > b.cget('bg') > >
Even more fun is b['bg'] James -- http://mail.python.org/mailman/listinfo/python-list