code: def OnEntryLineToggle(self, event):
          
  
          entry_line_panel_info = \
              self.main_window._mgr.GetPane("entry_line_panel")
  
          self._toggle_pane(entry_line_panel_info)
  
          event.Skip()
docs: Entry line toggle event handler