parameters: (self, event=None)
docstring: Save the open/close state of folders
docstring_summary: Save the open/close state of folders
docstring_tokens: Save the open / close state of folders
function: def SaveFolderState(self, event=None):
          """ Save the open/close state of folders """
  
          if self._loading:
              return
              
          folderList = []
          folderItemList = self._GetFolderItems(self._treeCtrl.GetRootItem())
          for item in folderItemList:
              if self._treeCtrl.IsExpanded(item):
                  folderList.append(self._GetItemFolderPath(item))
          
          config = wx.ConfigBase_Get()
          config.Write(getProjectKeyName(self.GetDocument().GetFilename(), self.GetMode()), repr(folderList))
function_tokens: def SaveFolderState ( self , event = None ) : if self . _loading : return folderList = [ ] folderItemList = self . _GetFolderItems ( self . _treeCtrl . GetRootItem ( ) ) for item in folderItemList : if self . _treeCtrl . IsExpanded ( item ) : folderList . append ( self . _GetItemFolderPath ( item ) ) config = wx . ConfigBase_Get ( ) config . Write ( getProjectKeyName ( self . GetDocument ( ) . GetFilename ( ) , self . GetMode ( ) ) , repr ( folderList ) )