Q&A > GUI Programming > How do I disable ("grey out") buttons? - Answer contributed by Jouke
Assuming you are using Tk, not Win32::GUI, you would do it like this:
$button->configure( -state => 'disabled' );
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (325 votes). Check out past polls.