code: def OnTableListToggle(self, event):
          
  
          table_list_panel_info = \
              self.main_window._mgr.GetPane("table_list_panel")
  
          self._toggle_pane(table_list_panel_info)
  
          event.Skip()
docs: Table list toggle event handler