code: def accel_toggle_hide_on_lose_focus(self, *args):
          
          if self.settings.general.get_boolean('window-losefocus'):
              self.settings.general.set_boolean('window-losefocus', False)
          else:
              self.settings.general.set_boolean('window-losefocus', True)
          return True
docs: Callback toggle whether the window should hide when it loses
          focus. Called by the accel key.