def do_toggle_variables(self, action):
self.show_vars = action.get_active()<EOL>if self.show_vars:<EOL><INDENT>self.show_variables_window()<EOL><DEDENT>else:<EOL><INDENT>self.hide_variables_window()<EOL><DEDENT>
Widget Action to toggle showing the variables window.