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 / Display < prev    next >
Encoding:
Text File  |  1993-11-23  |  3.2 KB  |  91 lines

  1. %%
  2. set helpbg [option get .hyperhelp.view.file background Tk]
  3. if {$helpbg == ""} {set helpbg white}
  4. %%
  5.  Graphical Display of Disk Usage
  6.  ---------------------------------------------------------------
  7.  Relative usage for all files in a given directory is presented
  8.  in a graphical display.  Files are ordered within the display
  9.  according to the options under the %%
  10. hyperhelp_link View Intro ViewMenu
  11. %% menu.
  12.  
  13.  A typical file is represented showing its name, relative size,
  14.  and numerical size as follows:
  15.  
  16.    %%
  17. label $blt_htext(widget).usage -bitmap ex-usage -bg $helpbg
  18. $blt_htext(widget) append $blt_htext(widget).usage
  19. %% 
  20.  
  21.  The icon to the left of the file name represents the type of
  22.  the file:
  23.  
  24.    %%
  25. label $blt_htext(widget).file -bitmap new-file -bg $helpbg
  26. $blt_htext(widget) append $blt_htext(widget).file
  27. %% - ordinary file
  28.    %%
  29. label $blt_htext(widget).dir -bitmap new-folder -bg $helpbg
  30. $blt_htext(widget) append $blt_htext(widget).dir
  31. %% - directory
  32.  
  33.  The same icon also represents the age of the file, according
  34.  to the spider webs displayed in the inner box:
  35.  
  36.    %%
  37. label $blt_htext(widget).newfile -bitmap new-file -bg $helpbg
  38. $blt_htext(widget) append $blt_htext(widget).newfile
  39.  
  40. label $blt_htext(widget).newdir -bitmap new-folder -bg $helpbg
  41. $blt_htext(widget) append $blt_htext(widget).newdir
  42. %% - "new" file/directory (less than 4 weeks old)
  43.    %%
  44. label $blt_htext(widget).dustyfile -bitmap dusty-file -bg $helpbg
  45. $blt_htext(widget) append $blt_htext(widget).dustyfile
  46.  
  47. label $blt_htext(widget).dustydir -bitmap dusty-folder -bg $helpbg
  48. $blt_htext(widget) append $blt_htext(widget).dustydir
  49. %% - "dusty" file/directory (4 - 8 weeks old)
  50.    %%
  51. label $blt_htext(widget).oldfile -bitmap old-file -bg $helpbg
  52. $blt_htext(widget) append $blt_htext(widget).oldfile
  53.  
  54. label $blt_htext(widget).olddir -bitmap old-folder -bg $helpbg
  55. $blt_htext(widget) append $blt_htext(widget).olddir
  56. %% - "old" file/directory (8 - 20 weeks old)
  57.    %%
  58. label $blt_htext(widget).moldyfile -bitmap moldy-file -bg $helpbg
  59. $blt_htext(widget) append $blt_htext(widget).moldyfile
  60.  
  61. label $blt_htext(widget).moldydir -bitmap moldy-folder -bg $helpbg
  62. $blt_htext(widget) append $blt_htext(widget).moldydir
  63. %% - "moldy" file/directory (more than 20 weeks old)
  64.  
  65.  The definitions for "new", "dusty", "old" and "moldy" shown
  66.  above can be modified using resources in the %%
  67.  hyperhelp_link ".Xdefaults" Xdefaults FileAges
  68.  %% file.
  69.  
  70.  Clicking with the left mouse button on any file in the display
  71.  causes a rectangle to be drawn around the file.  Double-clicking
  72.  with the left mouse button on a directory loads it into the
  73.  "Directory" heading, and causes its contents to be loaded into
  74.  the graphical display.
  75.  
  76.  Clicking and dragging with the middle mouse button moves the
  77.  current position in the display.
  78.  
  79.  Clicking and dragging with the right mouse button initiates
  80.  a %%
  81. hyperhelp_link drag&drop DragDrop
  82. %% operation, for transferring file names to targets
  83.  within the application.
  84.  
  85.  In the main window, the "Directory" entry is an editable field,
  86.  and the "Directory" label itself provides a menu of higher-level
  87.  directories.  In other usage windows, the "Directory" entry is
  88.  a %%
  89. hyperhelp_link drag&drop DragDrop
  90. %% source/target, but cannot be edited from the keyboard.
  91.