code: def OnHelpSize(self, event):
          
  
          size = event.GetSize()
          config["help_window_size"] = repr((size.width, size.height))
  
          event.Skip()
docs: Help window size event handler stores size in config