just destroy the buttons, and create/pack when the scientific feature is turned on. the scientific feature should be a flip-flop variable bound to the scientific button. and the button's click should be bound to the routine to create/destroy all the scientific calc buttons, depending on the value of the flip-flop variable.
the hardest line to type correctly is: stty erase ^H