Exemplo n.º 1
0
 def _ehExport(self):
     """Export the currently selected items"""
     #Get items to export
     selection = self._listbox.curselection()
     
     if(selection == ()):
         return
     
     items = []
     
     for s in selection:
         items.append(self._contents[s])
     
     packfile.export(items, self._wdir)
Exemplo n.º 2
0
 def _ehExport(self):
     """Event handler for exporting the slideshow"""
     item = [self._getCurrentSlideshow()]        
     packfile.export(item, self._wdirbase)