home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / TCL / BLT / BLT1.7L1 / BLT1 / blt-1.7 / applications / extloader / demos / blt / extensions.tcl < prev    next >
Encoding:
Text File  |  1994-04-22  |  840 b   |  33 lines

  1. # -------------------------------------------------------------------------
  2. # Demo version of "extensions.tcl" file. Assumes shared library
  3. # for blt existing in ../../src/shared/libBLT.so.1.7
  4. #
  5.  
  6. global tcl_extensions tcl_extloadpath
  7.  
  8. set file [glob ../../../../src/shared/libBLT.*]
  9. set file [lindex $file 0]
  10. set lib [file tail $file]
  11. set tcl_extloadpath { ../../../../src/shared }
  12.  
  13. # -------------------------------------------------------------------------
  14. # The format of the an entry in the tcl_extensions array is 
  15. #   initRoutine shlib ?shlib...?
  16. #
  17.  
  18. # -------------------------------------------------------------------------
  19. #
  20. #     Put extensions that require Tk after this point
  21. #
  22. # -------------------------------------------------------------------------
  23.  
  24. #
  25. # BLT library 
  26. #
  27.  
  28. set tcl_extensions(blt) [list Blt_Init $lib ]
  29.  
  30.