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' );
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (494 votes). Check out past polls.