Is there a way to get a reference to the buttons on a TCL/TK DialogBox? I didn't want to build my own version of a DB, though it isn't really hard. But since I already coded everything with a DB, I wanted to get a reference to one of the YES/NO buttons so I can gray it out and enable it based on user input.

I see you can get the children of a widget and so on, but I didn't get too far.

I figured this out eventually. The second button in the dialogbox is referred to as "button1" internally. I wrote a routine to grab a reference to it, and then I could set the state of it however I wanted.