home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / TCL / BLT / BLT1.7L1 / BLT1 / blt-1.7 / applications / kosherdill / Help / Compress next >
Encoding:
Text File  |  1993-11-23  |  1.6 KB  |  45 lines

  1. %%
  2. set helpbg [option get .hyperhelp.view.file background Tk]
  3. if {$helpbg == ""} {set helpbg white}
  4. label $blt_htext(widget).compress -bitmap compress -bg $helpbg
  5. $blt_htext(widget) append $blt_htext(widget).compress
  6. %%
  7.  Compressing Files/Directories
  8.  ---------------------------------------------------------------
  9.  
  10.  When a file token is dropped on the "compress" icon, it is
  11.  added to a list of files waiting for compression.  If this
  12.  list was previously hidden, it will become visible.
  13.  
  14.  The total amount of disk space that could be gained by
  15.  eliminating the files is shown at the top of the dialog
  16.  box.  Presumably, a large portion of this disk space will
  17.  be regained by compression.
  18.  
  19.  Files can be removed from the compress list using %%
  20. hyperhelp_link drag&drop DragDrop
  21. %%
  22.  facilities to drop them onto an icon:
  23.  
  24.   %%
  25. label $blt_htext(widget).refileTarget -bitmap refile
  26. $blt_htext(widget) append $blt_htext(widget).refileTarget
  27. %% - put file back into directory hierarchy
  28.   %%
  29. label $blt_htext(widget).trashTarget -bitmap trash
  30. $blt_htext(widget) append $blt_htext(widget).trashTarget
  31. %% - transfer file to %%
  32. hyperhelp_link \"delete\" Trash
  33. %% list
  34.  
  35.  Pressing the "Compress Files" button causes all files on
  36.  the list to be compressed.  Directories are converted to
  37.  compressed "tar" files, and ordinary files are simply
  38.  compressed.  If for some reason a file cannot be compressed,
  39.  an error message is displayed and the file is put back onto
  40.  the "compress" list.
  41.  
  42.  Pressing the "Cancel" button causes all files to be put
  43.  back into the directory hierarchy, and causes the "Compress"
  44.  dialog box to disappear.
  45.