code: def OnFindToolbarToggle(self, event):
          
  
          self.main_window.find_toolbar.SetGripperVisible(True)
  
          find_toolbar_info = self.main_window._mgr.GetPane("find_toolbar")
  
          self._toggle_pane(find_toolbar_info)
  
          event.Skip()
docs: Search toolbar toggle event handler