def save_gui_settings(self, *a):
        """
        Saves just the current configuration of the controls if the
        autosettings_path is set.
        """
        
        # 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)
def save_gui_settings ( self , * a ) : if self . _autosettings_path : gui_settings_dir = _os . path . join ( _cwd , 'egg_settings' ) if not _os . path . exists ( gui_settings_dir ) : _os . mkdir ( gui_settings_dir ) path = _os . path . join ( gui_settings_dir , self . _autosettings_path ) d = _d . databox ( ) for x in self . _autosettings_controls : self . _store_gui_setting ( d , x ) d . save_file ( path , force_overwrite = True )
Saves just the current configuration of the controls if the
        autosettings_path is set.