def handle_checkbutton(self):
        "Change the interface based on the key / primer freeze setting."
        if self.freeze_var.get():
            self.encoding_frame.grid_remove()
        else:
            self.encoding_frame.grid()
Change the interface based on the key / primer freeze setting.
recipes/Python/578076_Markov/recipe-578076.py