code: def save_gui_settings(self, *a):
          
          
          # only if we're supposed to!
          if self._autosettings_path:
  
              # Get the gui settings directory
              gui_settings_dir = _os.path.join(_cwd, 'egg_settings')
  
              # make sure the directory exists
              if not _os.path.exists(gui_settings_dir): _os.mkdir(gui_settings_dir)
  
              # make a path with a sub-directory
              path = _os.path.join(gui_settings_dir, self._autosettings_path)
              
              # for saving header info
              d = _d.databox()
  
              # add all the controls settings
              for x in self._autosettings_controls: self._store_gui_setting(d, x)
  
              # save the file
              d.save_file(path, force_overwrite=True)
docs: Saves just the current configuration of the controls if the
          autosettings_path is set.