home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mitsch75.zip / scheme-7_5_17-src.zip / scheme-7.5.17 / src / swat / scheme / load.scm < prev    next >
Text File  |  1998-02-11  |  30KB  |  1,058 lines

  1. #|
  2. (with-working-directory-pathname
  3.     (directory-pathname (current-load-pathname))
  4.   (lambda ()
  5.     ;; Dynamically load the microcode.  Order important.
  6.     (load "dynload/scxl")
  7.     (load "dynload/tcl")
  8.     (load "dynload/tk")
  9.     (load "dynload/uitk")
  10.  
  11.     ((access with-directory-rewriting-rule
  12.          (->environment '(RUNTIME COMPILER-INFO)))
  13.      (working-directory-pathname)
  14.      (pathname-as-directory "lib/swat")
  15.      (lambda ()
  16.        (package/system-loader "swat" '() 'QUERY)))
  17.     (add-identification! "SWAT" 1 0)))
  18. |#
  19.  
  20.  
  21.  
  22. (let ((swat-env
  23.        (in-package system-global-environment
  24.      (let ()
  25.        (the-environment)))))
  26.  
  27.   (package/add-child!  (find-package '())  'SWAT  swat-env)
  28.  
  29.   (for-each (lambda (export)
  30.           (local-assignment swat-env export 'UNASSIGNED)
  31.           (environment-link-name
  32.            (package/environment (find-package '()))
  33.            swat-env
  34.            export))
  35.     ;; All of SWAT's exported names.  This list need pruning
  36.     '(*-alert-structure-size-*
  37.       *-alert.function-*
  38.       *-alert.reason-*
  39.       *-canvasitem-structure-size-*
  40.       *-canvasitem.add-event-handler!-procedure-*
  41.       *-canvasitem.ask-widget-procedure-*
  42.       *-canvasitem.canvas-*
  43.       *-canvasitem.name-*
  44.       *-canvasitem.set-callback!-procedure-*
  45.       *-canvasitemgroup-structure-size-*
  46.       *-canvasitemgroup.add-event-handler!-procedure-*
  47.       *-canvasitemgroup.ask-widget-procedure-*
  48.       *-canvasitemgroup.canvas-*
  49.       *-canvasitemgroup.set-callback!-procedure-*
  50.       *-canvasitemgroup.tag-*
  51.       *-context-structure-size-*
  52.       *-context.activebackground-*
  53.       *-context.activeforeground-*
  54.       *-context.anchor-*
  55.       *-context.background-*
  56.       *-context.border-*
  57.       *-context.borderwidth-*
  58.       *-context.foreground-*
  59.       *-context.relief-*
  60.       *-drawingsurface-structure-size-*
  61.       *-drawingsurface.toolkitwindow-*
  62.       *-drawingsurface.uitkwindow-*
  63.       *-drawingsurface.weak-list-of-widgets-*
  64.       *-event-structure-size-*
  65.       *-event.height-*
  66.       *-event.offset-*
  67.       *-event.os-event-*
  68.       *-event.point-or-rectangle?-*
  69.       *-event.type-*
  70.       *-event.width-*
  71.       *-event.window-*
  72.       *-glue-structure-size-*
  73.       *-glue.class-*
  74.       *-glue.minsize-*
  75.       *-glue.value-*
  76.       *-locked-list-structure-size-*
  77.       *-menuitem-structure-size-*
  78.       *-menuitem.add-event-handler!-procedure-*
  79.       *-menuitem.ask-widget-procedure-*
  80.       *-menuitem.index-*
  81.       *-menuitem.menurecord-*
  82.       *-menuitem.set-callback!-procedure-*
  83.       *-menurecord-structure-size-*
  84.       *-menurecord.items-*
  85.       *-menurecord.menu-*
  86.       *-point-structure-size-*
  87.       *-point.x-*
  88.       *-point.y-*
  89.       *-queue-structure-size-*
  90.       *-scxl-wrapper-structure-size-*
  91.       *-scxl-wrapper.other-stuff-*
  92.       *-scxl-wrapper.strong-dependents-*
  93.       *-scxl-wrapper.type-*
  94.       *-scxl-wrapper.wrapped-object-*
  95.       *-sensitive-surface-structure-size-*
  96.       *-sensitive-surface.drawingsurface-*
  97.       *-sensitive-surface.handlers-*
  98.       *-sensitivity-structure-size-*
  99.       *-sensitivity.masks-*
  100.       *-size-structure-size-*
  101.       *-size.height-*
  102.       *-size.width-*
  103.       *-surface-sensitivity-structure-size-*
  104.       *-surface-sensitivity.mask-*
  105.       *-surface-sensitivity.sensitivities-*
  106.       *-surface-sensitivity.weak-surface-*
  107.       *-texttag-structure-size-*
  108.       *-texttag.add-event-handler!-procedure-*
  109.       *-texttag.ask-widget-procedure-*
  110.       *-texttag.callbacks-*
  111.       *-texttag.name-*
  112.       *-texttag.set-callback!-procedure-*
  113.       *-texttag.text-*
  114.       *-tk-variable-structure-size-*
  115.       *-tk-variable.application-*
  116.       *-tk-variable.callback-*
  117.       *-tk-variable.tk-name-*
  118.       *-toolkitwindow-structure-size-*
  119.       *-toolkitwindow.application-*
  120.       *-toolkitwindow.tk-window-*
  121.       *-toolkitwindow.top-level-geometry-callback-*
  122.       *-uiobjinternals-structure-size-*
  123.       *-uiobjinternals.add-child!-procedure-*
  124.       *-uiobjinternals.already-have-a-parent?-*
  125.       *-uiobjinternals.assign-drawing-surface!-procedure-*
  126.       *-uiobjinternals.assign-glue!-procedure-*
  127.       *-uiobjinternals.assign-screen-area!-procedure-*
  128.       *-uiobjinternals.assigned-screen-area-*
  129.       *-uiobjinternals.assigned-screen-area-procedure-*
  130.       *-uiobjinternals.clip-region-*
  131.       *-uiobjinternals.crud-that-i-dont-want-to-gc-away-*
  132.       *-uiobjinternals.drawing-surface-*
  133.       *-uiobjinternals.get-desired-size-procedure-*
  134.       *-uiobjinternals.handle-event-procedure-*
  135.       *-uiobjinternals.point-within?-procedure-*
  136.       *-uiobjinternals.rectangle-overlaps?-procedure-*
  137.       *-uiobjinternals.remove-child!-procedure-*
  138.       *-uiobjinternals.set-assigned-screen-area!-procedure-*
  139.       *-uiobjinternals.set-context!-procedure-*
  140.       *-uiobjinternals.set-used-screen-area!-procedure-*
  141.       *-uiobjinternals.used-screen-area-*
  142.       *-uiobjinternals.used-screen-area-procedure-*
  143.       *-uitkrectangle-structure-size-*
  144.       *-uitkrectangle.offset-*
  145.       *-uitkrectangle.size-*
  146.       *-uitkwindow-structure-size-*
  147.       *-uitkwindow.xdisplay-*
  148.       *-uitkwindow.xwindow-*
  149.       *all-menus*
  150.       *all-sensitive-surfaces*
  151.       *event-processing-mutex*
  152.       *fil-glue*
  153.       *fil-glue-class*
  154.       *fill-glue-class*
  155.       *our-hash-table*
  156.       *percent-glue-class*
  157.       *rigid-glue*
  158.       *rigid-glue-class*
  159.       *synchronizing?*
  160.       *the-default-application*
  161.       *uitk-interval*
  162.       *uitk:gc-has-occurred?*
  163.       *xclosedisplaycallbacks*
  164.       ->widget
  165.       ->xcolormap
  166.       ->xdisplay
  167.       ->xgc
  168.       ->xpixel
  169.       ->xregion
  170.       ->xwindow
  171.       active-variable-value
  172.       add-child!
  173.       add-event-handler!
  174.       add-event-handler!-procedure-index
  175.       add-sub-menu
  176.       add-to-agenda!
  177.       add-to-canvas-item-group
  178.       add-to-menu
  179.       ;;add-to-protection-list!
  180.       add-vectors
  181.       add-widget-list-for-display-number!
  182.       after-delay
  183.       after-last-space
  184.       alert.function
  185.       alert.reason
  186.       alert/pp
  187.       alert?
  188.       allow-free-trace?
  189.       application->display
  190.       application->tkmainwindow
  191.       application-add-child!
  192.       application-maker
  193.       application-remove-child!
  194.       application-remove-destroyed-child!
  195.       array-arrange
  196.       array-box-add-child!
  197.       array-box-assign-drawing-surface!
  198.       array-box-assign-glue!
  199.       array-box-assign-screen-area!
  200.       array-box-maker
  201.       array-box-propagator
  202.       array-get-hglue
  203.       array-get-vglue
  204.       array-size
  205.       array:rearrange
  206.       ask-widget
  207.       ask-widget-procedure-index
  208.       assign-drawing-surface!
  209.       assign-geometry!
  210.       assign-glue!
  211.       assign-location!
  212.       assign-screen-area!
  213.       assigned-screen-area
  214.       atomic-read-and-clear-cell!
  215.       bit-or
  216.       box-add-child!
  217.       box-assign-drawing-surface!
  218.       box-assign-glue!
  219.       box-assign-screen-area!
  220.       box-children
  221.       box-maker
  222.       box-remove-child!
  223.       box:event-propagator
  224.       box:rearrange
  225.       button-stretch
  226.       ;;canvas-flush-protect-list!
  227.       ;;canvas-protect-from-gc!
  228.       canvas-stretch
  229.       ;;canvas-unprotect-from-gc!
  230.       canvasitem-add-event-handler!
  231.       canvasitem-ask-widget
  232.       canvasitem.add-event-handler!-procedure
  233.       canvasitem.ask-widget-procedure
  234.       canvasitem.canvas
  235.       canvasitem.name
  236.       canvasitem.set-callback!-procedure
  237.       canvasitem/pp
  238.       canvasitem?
  239.       canvasitemgroup-add-event-handler!
  240.       canvasitemgroup-ask-widget
  241.       canvasitemgroup.add-event-handler!-procedure
  242.       canvasitemgroup.ask-widget-procedure
  243.       canvasitemgroup.canvas
  244.       canvasitemgroup.set-callback!-procedure
  245.       canvasitemgroup.tag
  246.       canvasitemgroup/pp
  247.       canvasitemgroup?
  248.       change-sensitive-surface!
  249.       check-drawing-surface!
  250.       checkbutton-variable-on?
  251.       choose-maximum-glue
  252.       choose-minimum-glue
  253.       clean-lost-celled-objects
  254.       ;;clean-lost-protected-objects
  255.       cleanup-vanished-objects-for-display
  256.       clear-counters!
  257.       cleararea
  258.       clip-region
  259.       close-lost-displays-daemon
  260.       color?
  261.       colormap/colormap
  262.       colormap/pixel-list
  263.       compose-glues
  264.       compute-cumulative-glues
  265.       conquer-space
  266.       context-change!
  267.       context.activebackground
  268.       context.activeforeground
  269.       context.anchor
  270.       context.background
  271.       context.border
  272.       context.borderwidth
  273.       context.foreground
  274.       context.relief
  275.       context/pp
  276.       context?
  277.       copy-free-traces
  278.       copy-rectangle
  279.       copyxregion
  280.       create-default-context
  281.       create-sensitive-surface
  282.       crud-that-i-dont-want-to-gc-away
  283.       current-size
  284.       current-time
  285.       death!
  286.       debug-print
  287.       debug-surface
  288.       debugging-port
  289.       decode-button-event
  290.       decode-configure-event
  291.       decode-crossing-event
  292.       decode-expose-event
  293.       decode-key-event
  294.       decode-motion-event
  295.       decode-unknown-event
  296.       decode-window-attributes
  297.       defer
  298.       ;;del-assq!
  299.       ;;del-assv!
  300.       ;;del-op!
  301.       delete-<interactor>!
  302.       delete-menuitem!
  303.       ;;dequeue!
  304.       destroy-all-sensitive-surfaces-from-display
  305.       destroy-associated-tk-widgets
  306.       destroy-registration
  307.       destroy-sensitive-surface
  308.       display->tk-widgets
  309.       ;;display-protection-list
  310.       display/colormap-list
  311.       display/default-root-window
  312.       display/display
  313.       display/font-list
  314.       display/gc-list
  315.       display/screen/default-color-map
  316.       display/window-list
  317.       divide-space
  318.       do-tk-callbacks
  319.       do-tk-callbacks-from-string
  320.       drawarc
  321.       drawing-surface
  322.       drawingsurface.application
  323.       drawingsurface.toolkitwindow
  324.       drawingsurface.uitkwindow
  325.       drawingsurface.weak-list-of-widgets
  326.       drawingsurface/pp
  327.       drawingsurface?
  328.       drawline
  329.       drawrectangle
  330.       empty-agenda?
  331.       empty-queue?
  332.       empty-segments?
  333.       ;;enqueue!
  334.       ensure-graphics-context
  335.       entry-height-stretch
  336.       event!
  337.       event-counter
  338.       event-within?
  339.       event.height
  340.       event.offset
  341.       event.os-event
  342.       event.point-or-rectangle?
  343.       event.type
  344.       event.width
  345.       event.window
  346.       event/pp
  347.       event?
  348.       fil-glue?
  349.       fill-glue?
  350.       fillarc
  351.       fillrectangle
  352.       finalize-uitk-objects
  353.       finalize-uitk-objects-later
  354.       ;;find-in-protection-list
  355.       find-menu-record
  356.       find-real-array-box-children
  357.       find-sensitivity
  358.       find-ss
  359.       ;;find-tk-protection-list
  360.       ;;find-tk-protection-list-from-number
  361.       first-segment
  362.       flush-display-hook
  363.       flush-queued-output
  364.       forget!
  365.       forget-context-change!
  366.       forget-death-notification!
  367.       forget-event!
  368.       forget-geometry-change!
  369.       fork-to-wait-on
  370.       gc/gc
  371.       gc/region
  372.       generate-events!
  373.       generate-graphics-context!
  374.       geometry-change!
  375.       get-desired-size
  376.       get-interval-to-next-delayed-event
  377.       get-interval-to-tk-wakeup
  378.       get-tk-widget-orientation
  379.       get-uitkwindow
  380.       get-window-attributes
  381.       get-x-event
  382.       getdefaultvalue
  383.       glue.class
  384.       glue.minsize
  385.       glue.value
  386.       glue/pp
  387.       glue?
  388.       h-arrange
  389.       h-get-hglue
  390.       h-get-vglue
  391.       h-size
  392.       handle-button-grab
  393.       handle-event
  394.       handle-exposure
  395.       handler->sensitivity
  396.       idle-queue
  397.       ignore-repl
  398.       init-alert
  399.       init-canvasitem
  400.       init-canvasitemgroup
  401.       init-context
  402.       init-drawingsurface
  403.       init-event
  404.       init-glue
  405.       init-locked-list
  406.       init-menuitem
  407.       init-menurecord
  408.       init-point
  409.       init-queue
  410.       init-scxl-wrapper
  411.       init-sensitive-surface
  412.       init-sensitivity
  413.       init-size
  414.       init-surface-sensitivity
  415.       init-texttag
  416.       init-tk-variable
  417.       init-toolkitwindow
  418.       init-uiobjinternals
  419.       init-uitkrectangle
  420.       init-uitkwindow
  421.       initial-thread-state
  422.       initialize-mit-widgets!
  423.       initialize-scxl!
  424.       initialize-uitk!
  425.       initialize-widgets!
  426.       insert-new-time!
  427.       interactor-add-child!
  428.       interactor-maker
  429.       interactor-remove-child!
  430.       intersectxregions
  431.       is-type-wrapped-object
  432.       kick-uitk-thread
  433.       kids-lists->complete-kids-lists
  434.       locked-list/pp
  435.       locked-list?
  436.       loop-counter
  437.       loop-trace
  438.       make-active-variable
  439.       make-add-alert!
  440.       make-agenda
  441.       make-alert
  442.       make-alert!
  443.       make-application
  444.       make-arc-on-canvas
  445.       make-arg-transformers
  446.       make-array-box
  447.       make-bitmap-on-canvas
  448.       make-box
  449.       make-button
  450.       make-canvas
  451.       make-canvas-item
  452.       make-canvas-item-group
  453.       make-canvasitem
  454.       make-canvasitemgroup
  455.       make-checkbutton
  456.       make-colored-graphics-context
  457.       make-context
  458.       make-del-op!
  459.       make-destroy-<application>-related-objects
  460.       make-drawingsurface
  461.       make-drop-rubber-rectangle-surface
  462.       make-enqueueable-thunk
  463.       make-entry
  464.       make-event
  465.       make-fil-glue
  466.       make-fill-glue
  467.       make-filled-circle
  468.       make-filled-oval
  469.       make-filled-rectangle
  470.       make-free-trace
  471.       make-glue
  472.       make-hbox
  473.       make-interactor
  474.       make-label
  475.       make-line
  476.       make-line-on-canvas
  477.       make-listbox
  478.       make-locked-list
  479.       make-lookup
  480.       make-menu
  481.       make-menubutton
  482.       make-menuitem
  483.       make-menurecord
  484.       make-message
  485.       make-oval
  486.       make-oval-on-canvas
  487.       make-percent-glue
  488.       make-point
  489.       make-point-event
  490.       make-polygon-on-canvas
  491.       ;;make-protection-list
  492.       ;;make-queue
  493.       make-radiobutton
  494.       make-rect
  495.       make-rectangle-event
  496.       make-rectangle-on-canvas
  497.       make-remove-alert!
  498.       make-rigid-glue
  499.       make-scale
  500.       make-scaling-line
  501.       make-scaling-oval
  502.       make-scaling-rect
  503.       make-scrollable-canvas
  504.       make-scrollable-text
  505.       make-scrollbar
  506.       make-scxl-wrapper
  507.       make-self-painting-circle
  508.       make-self-painting-rectangle
  509.       make-self-painting-unfilled-rectangle
  510.       make-sensitive-surface
  511.       make-sensitivity
  512.       make-shape
  513.       make-shape-surface
  514.       make-simple-graphics-context
  515.       make-size
  516.       make-space
  517.       make-surface-sensitivity
  518.       make-text
  519.       make-text-on-canvas
  520.       make-text-tag
  521.       make-texttag
  522.       make-time-segment
  523.       make-tk-variable
  524.       make-tk-widget
  525.       make-toolkitwindow
  526.       make-top-level-geometry-callback
  527.       make-uiobjinternals
  528.       make-uitk-thread
  529.       make-uitkrectangle
  530.       make-uitkwindow
  531.       make-unfilled-circle
  532.       make-unfilled-oval
  533.       make-unfilled-rectangle
  534.       make-unknown-event
  535.       make-vbox
  536.       ;;make-weak-del-op!
  537.       ;;make-weak-lookup
  538.       make-widget-on-canvas
  539.       makexregion
  540.       maybe-defer
  541.       menuitem-ask-widget
  542.       menuitem-set-callback!
  543.       menuitem.add-event-handler!-procedure
  544.       menuitem.ask-widget-procedure
  545.       menuitem.index
  546.       menuitem.menu
  547.       menuitem.menurecord
  548.       menuitem.set-callback!-procedure
  549.       menuitem/pp
  550.       menuitem?
  551.       menurecord.items
  552.       menurecord.menu
  553.       menurecord/pp
  554.       menurecord?
  555.       merge-canvas-item-groups
  556.       more-counter
  557.       more-work-to-do
  558.       mouse-drag
  559.       on-context-change!
  560.       on-death!
  561.       on-event!
  562.       on-geometry-change!
  563.       one-parent-only!
  564.       open-display
  565.       our-with-thread-mutex-locked
  566.       parallel-compose-glue
  567.       parallel-compose-glues
  568.       percent-glue?
  569.       pixel/pixel
  570.       point-event-within?
  571.       point-event?
  572.       point-in-rectangle?
  573.       point-within?
  574.       point.x
  575.       point.y
  576.       point/pp
  577.       point=
  578.       point?
  579.       proc-with-transformed-args
  580.       ;;protection-list-all-elements
  581.       ;;protection-list-referenced-elements
  582.       queue/pp
  583.       ;;queue?
  584.       read-and-empty-agenda!
  585.       read-and-empty-queue!
  586.       read-queue-trace
  587.       record-free-pointer
  588.       record-surface-sensitivity!
  589.       rectangle->xregion
  590.       rectangle-event-within?
  591.       rectangle-event?
  592.       rectangle-overlaps-rectangle?
  593.       rectangle-overlaps?
  594.       rectangle=
  595.       ;;region-protection-list
  596.       region/region
  597.       remember-on-canvas!
  598.       remove-child!
  599.       ;;remove-from-protection-list!
  600.       remove-from-registry
  601.       reset-sensitivity!
  602.       rest-segments
  603.       restart-uitk
  604.       retract-area
  605.       rigid-glue?
  606.       row-lists->col-lists
  607.       run-queue-trace
  608.       screen-area=
  609.       scrollable-canvas-canvas
  610.       scrollable-canvas-hscroll
  611.       scrollable-canvas-vscroll
  612.       scrollable-text-text
  613.       scrollable-text-vscroll
  614.       scxl-destroy!
  615.       scxl-destroyed?
  616.       scxl-display?
  617.       scxl-install-xclosedisplay-callback
  618.       scxl-unwrap
  619.       scxl-wrap
  620.       scxl-wrapped?
  621.       scxl-wrapper.other-stuff
  622.       scxl-wrapper.strong-dependents
  623.       scxl-wrapper.type
  624.       scxl-wrapper.wrapped-object
  625.       scxl-wrapper/pp
  626.       scxl-wrapper?
  627.       ;;search-protection-list
  628.       segment-queue
  629.       segment-time
  630.       segments
  631.       self-paint!
  632.       sensitive-surface.drawingsurface
  633.       sensitive-surface.handlers
  634.       sensitive-surface/pp
  635.       sensitive-surface?
  636.       sensitivity.masks
  637.       sensitivity/pp
  638.       sensitivity?
  639.       series-compose-glue
  640.       series-compose-glues
  641.       set-active-variable!
  642.       set-active-variable-callback!
  643.       set-alert.function!
  644.       set-alert.reason!
  645.       set-assigned-screen-area!
  646.       set-callback!
  647.       set-callback!-procedure-index
  648.       set-canvasitem.add-event-handler!-procedure!
  649.       set-canvasitem.ask-widget-procedure!
  650.       set-canvasitem.canvas!
  651.       set-canvasitem.name!
  652.       set-canvasitem.set-callback!-procedure!
  653.       set-canvasitemgroup.add-event-handler!-procedure!
  654.       set-canvasitemgroup.ask-widget-procedure!
  655.       set-canvasitemgroup.canvas!
  656.       set-canvasitemgroup.set-callback!-procedure!
  657.       set-canvasitemgroup.tag!
  658.       set-clip-region!
  659.       set-context!
  660.       set-context.activebackground!
  661.       set-context.activeforeground!
  662.       set-context.anchor!
  663.       set-context.background!
  664.       set-context.border!
  665.       set-context.borderwidth!
  666.       set-context.foreground!
  667.       set-context.relief!
  668.       set-crud-that-i-dont-want-to-gc-away!
  669.       set-drawing-surface!
  670.       set-drawingsurface.toolkitwindow!
  671.       set-drawingsurface.uitkwindow!
  672.       set-drawingsurface.weak-list-of-widgets!
  673.       set-event.height!
  674.       set-event.offset!
  675.       set-event.os-event!
  676.       set-event.point-or-rectangle?!
  677.       set-event.type!
  678.       set-event.width!
  679.       set-event.window!
  680.       set-floating-error-mask!
  681.       set-gc/region!
  682.       set-glue.class!
  683.       set-glue.minsize!
  684.       set-glue.value!
  685.       set-menuitem.add-event-handler!-procedure!
  686.       set-menuitem.ask-widget-procedure!
  687.       set-menuitem.index!
  688.       set-menuitem.menurecord!
  689.       set-menuitem.set-callback!-procedure!
  690.       set-menurecord.items!
  691.       set-menurecord.menu!
  692.       set-point.x!
  693.       set-point.y!
  694.       set-scxl-wrapper.other-stuff!
  695.       set-scxl-wrapper.strong-dependents!
  696.       set-scxl-wrapper.type!
  697.       set-scxl-wrapper.wrapped-object!
  698.       set-segments!
  699.       set-sensitive-surface.drawingsurface!
  700.       set-sensitive-surface.handlers!
  701.       set-sensitivity.masks!
  702.       set-size.height!
  703.       set-size.width!
  704.       set-surface-sensitivity.mask!
  705.       set-surface-sensitivity.sensitivities!
  706.       set-surface-sensitivity.weak-surface!
  707.       set-texttag.add-event-handler!-procedure!
  708.       set-texttag.ask-widget-procedure!
  709.       set-texttag.callbacks!
  710.       set-texttag.name!
  711.       set-texttag.set-callback!-procedure!
  712.       set-texttag.text!
  713.       set-tk-variable.application!
  714.       set-tk-variable.callback!
  715.       set-tk-variable.tk-name!
  716.       set-toolkitwindow.application!
  717.       set-toolkitwindow.tk-window!
  718.       set-toolkitwindow.top-level-geometry-callback!
  719.       set-uiobjinternals.add-child!-procedure!
  720.       set-uiobjinternals.already-have-a-parent?!
  721.       set-uiobjinternals.assign-drawing-surface!-procedure!
  722.       set-uiobjinternals.assign-glue!-procedure!
  723.       set-uiobjinternals.assign-screen-area!-procedure!
  724.       set-uiobjinternals.assigned-screen-area!
  725.       set-uiobjinternals.assigned-screen-area-procedure!
  726.       set-uiobjinternals.clip-region!
  727.       set-uiobjinternals.crud-that-i-dont-want-to-gc-away!
  728.       set-uiobjinternals.drawing-surface!
  729.       set-uiobjinternals.get-desired-size-procedure!
  730.       set-uiobjinternals.handle-event-procedure!
  731.       set-uiobjinternals.point-within?-procedure!
  732.       set-uiobjinternals.rectangle-overlaps?-procedure!
  733.       set-uiobjinternals.remove-child!-procedure!
  734.       set-uiobjinternals.set-assigned-screen-area!-procedure!
  735.       set-uiobjinternals.set-context!-procedure!
  736.       set-uiobjinternals.set-used-screen-area!-procedure!
  737.       set-uiobjinternals.used-screen-area!
  738.       set-uiobjinternals.used-screen-area-procedure!
  739.       set-uitkrectangle.offset!
  740.       set-uitkrectangle.size!
  741.       set-uitkwindow.xdisplay!
  742.       set-uitkwindow.xwindow!
  743.       set-used-screen-area!
  744.       setclipxregion
  745.       shape-assign-glue!
  746.       shape-assign-screen-area!
  747.       shape-copy
  748.       shape-draw
  749.       shape-draw-function
  750.       shape-erase-maybe
  751.       shape-maker
  752.       shape-point-within?
  753.       shape-rectangle-overlaps?
  754.       shape-set-color!
  755.       shape-set-erase-function!
  756.       shape-set-gc-function!
  757.       show-counters
  758.       shut-down-event-server
  759.       size.height
  760.       size.width
  761.       size/pp
  762.       size=
  763.       size?
  764.       string->color
  765.       stringify-for-tk
  766.       sub-vectors
  767.       subtractxregions
  768.       surface-sensitivity.mask
  769.       surface-sensitivity.sensitivities
  770.       surface-sensitivity.weak-surface
  771.       surface-sensitivity/pp
  772.       surface-sensitivity?
  773.       suspend-counter
  774.       swat-close
  775.       swat-open
  776.       swat-open-in-application
  777.       swat:number->string
  778.       tcl-global-eval
  779.       ;;text-flush-protect-list!
  780.       ;;text-protect-from-gc!
  781.       ;;text-unprotect-from-gc!
  782.       texttag-add-event-handler!
  783.       texttag-ask-widget
  784.       texttag.add-event-handler!-procedure
  785.       texttag.ask-widget-procedure
  786.       texttag.callbacks
  787.       texttag.name
  788.       texttag.set-callback!-procedure
  789.       texttag.text
  790.       texttag/pp
  791.       texttag?
  792.       the-agenda
  793.       thread-start
  794.       tk-completely-handles-event?
  795.       tk-create-top-level-window
  796.       tk-delete-display
  797.       tk-doevents
  798.       tk-gen-name
  799.       tk-generate-scheme-event
  800.       tk-has-requested-new-size
  801.       tk-init
  802.       tk-invoke-command
  803.       tk-kill-application
  804.       tk-make-button
  805.       tk-make-canvas
  806.       tk-make-checkbutton
  807.       tk-make-entry
  808.       tk-make-label
  809.       tk-make-listbox
  810.       tk-make-menu
  811.       tk-make-menubutton
  812.       tk-make-message
  813.       tk-make-radiobutton
  814.       tk-make-scale
  815.       tk-make-scrollbar
  816.       tk-make-text
  817.       tk-manage-geometry
  818.       tk-map-window
  819.       tk-move-resize-widget
  820.       tk-op
  821.       tk-unmap-window
  822.       tk-variable.application
  823.       tk-variable.callback
  824.       tk-variable.tk-name
  825.       tk-variable/pp
  826.       tk-variable?
  827.       tk-widget->pathname
  828.       tk-widget-destroy
  829.       tk-widget.tkwin
  830.       tkwidget-add-child!
  831.       tkwidget-add-event-handler!
  832.       tkwidget-ask-widget
  833.       tkwidget-assign-drawing-surface!
  834.       tkwidget-assign-glue!
  835.       tkwidget-assign-screen-area!
  836.       tkwidget-assigned-screen-area
  837.       tkwidget-get-desired-size
  838.       tkwidget-maker
  839.       tkwidget-set-assigned-screen-area!
  840.       tkwidget-set-callback!
  841.       tkwidget-set-used-screen-area!
  842.       tkwidget-used-screen-area
  843.       tkwin->requested-size
  844.       tkwin->size
  845.       tkwin.display
  846.       tkwin.height
  847.       tkwin.ismapped?
  848.       tkwin.name
  849.       tkwin.pathname
  850.       tkwin.req-height
  851.       tkwin.req-width
  852.       tkwin.width
  853.       tkwin.window
  854.       tkwin.x
  855.       tkwin.y
  856.       toolkitwindow.application
  857.       toolkitwindow.tk-window
  858.       toolkitwindow.top-level-geometry-callback
  859.       toolkitwindow/pp
  860.       toolkitwindow?
  861.       translate-rectangle
  862.       type-check-wrapped-object
  863.       uiobj-assign-drawing-surface!
  864.       uiobj-assign-screen-area!
  865.       uiobj-assigned-screen-area
  866.       uiobj-get-desired-size
  867.       uiobj-handle-event
  868.       uiobj-point-within?
  869.       ;;uiobj-protect-from-gc!
  870.       uiobj-rectangle-overlaps?
  871.       uiobj-set-assigned-screen-area!
  872.       uiobj-set-context!
  873.       uiobj-set-used-screen-area!
  874.       ;;uiobj-unprotect-from-gc!
  875.       uiobj-used-screen-area
  876.       uiobjinternals
  877.       uiobjinternals-index
  878.       uiobjinternals.add-child!-procedure
  879.       uiobjinternals.already-have-a-parent?
  880.       uiobjinternals.assign-drawing-surface!-procedure
  881.       uiobjinternals.assign-glue!-procedure
  882.       uiobjinternals.assign-screen-area!-procedure
  883.       uiobjinternals.assigned-screen-area
  884.       uiobjinternals.assigned-screen-area-procedure
  885.       uiobjinternals.clip-region
  886.       uiobjinternals.crud-that-i-dont-want-to-gc-away
  887.       uiobjinternals.drawing-surface
  888.       uiobjinternals.get-desired-size-procedure
  889.       uiobjinternals.handle-event-procedure
  890.       uiobjinternals.point-within?-procedure
  891.       uiobjinternals.rectangle-overlaps?-procedure
  892.       uiobjinternals.remove-child!-procedure
  893.       uiobjinternals.set-assigned-screen-area!-procedure
  894.       uiobjinternals.set-context!-procedure
  895.       uiobjinternals.set-used-screen-area!-procedure
  896.       uiobjinternals.used-screen-area
  897.       uiobjinternals.used-screen-area-procedure
  898.       uiobjinternals/pp
  899.       uiobjinternals?
  900.       ;;uitk-protection-list
  901.       uitk-queue
  902.       uitk-thread
  903.       uitk-thread-main-loop
  904.       uitk-timer
  905.       uitkrectangle.height
  906.       uitkrectangle.offset
  907.       uitkrectangle.size
  908.       uitkrectangle.width
  909.       uitkrectangle/pp
  910.       uitkrectangle?
  911.       uitkwindow.xdisplay
  912.       uitkwindow.xwindow
  913.       uitkwindow/pp
  914.       uitkwindow?
  915.       unionxregions
  916.       unwrap-display
  917.       update-locked-list!
  918.       used-screen-area
  919.       v-arrange
  920.       v-get-hglue
  921.       v-get-vglue
  922.       v-size
  923.       valid-child?
  924.       valid-color-for-application?
  925.       valid-color?
  926.       valid-non-widget?
  927.       ;;weak-delq!
  928.       when-idle!
  929.       when-unreferenced
  930.       widget->screen-area
  931.       widget->size
  932.       widget/widget
  933.       window/window
  934.       with-clipping!
  935.       with-locked-list
  936.       with-uitk-thread-errors-captured
  937.       wrap-colormap
  938.       wrap-display
  939.       wrap-graphics-context
  940.       wrap-pixel
  941.       wrap-region
  942.       wrap-tk-widget
  943.       wrap-window
  944.       wrap-with-scxl-destroy!
  945.       xallocnamedcolor
  946.       xchangewindowattributes
  947.       xcheckmaskevent!?
  948.       xcleararea
  949.       xclearwindow
  950.       xclosedisplay
  951.       xclosedisplaybynumber
  952.       xcolor.pixel
  953.       xconnectionnumber
  954.       xcopy-event
  955.       xcreategc
  956.       xcreateregion
  957.       xcreatesimplewindow
  958.       xdecodebuttonevent
  959.       xdecodeconfigureevent
  960.       xdecodecrossingevent
  961.       xdecodeexposeevent
  962.       xdecodekeyevent
  963.       xdecodemotionevent
  964.       xdecodeunknownevent
  965.       xdecodewindowattributes
  966.       xdecodexcolor
  967.       xdefaultcolormap
  968.       xdefaultrootwindow
  969.       xdefaultscreen
  970.       xdestroyregion
  971.       xdestroywindow
  972.       xdrawarc
  973.       xdrawline
  974.       xdrawrectangle
  975.       xevent-><event>
  976.       xevent-type
  977.       xfillarc
  978.       xfillrectangle
  979.       xflush
  980.       xfreecolormap
  981.       xfreegc
  982.       xgetdefault
  983.       xgetwindowattributes
  984.       xintersectregion!
  985.       xloadfont
  986.       xmake-color
  987.       xmake-event
  988.       xmake-gcvalues
  989.       xmake-setwindowattributes
  990.       xmapwindow
  991.       xnextevent
  992.       xnextevent!
  993.       xopendisplay
  994.       xpending
  995.       xputbackevent
  996.       xquerypointer
  997.       xquerytree
  998.       xscreencount
  999.       xsetforeground
  1000.       xsetfunction
  1001.       xsetregion
  1002.       xsetwindowattributes-event_mask!
  1003.       xstorename
  1004.       xsubtractregion!
  1005.       xtranslatecoordinates
  1006.       xunionrectspecswithregion!
  1007.       xunionregion!
  1008.       xunloadfont)))
  1009.  
  1010.  
  1011. (with-working-directory-pathname
  1012.     (directory-pathname (current-load-pathname))
  1013.   (lambda ()
  1014.  
  1015.     (in-package (->environment '(SWAT))
  1016.       ;; These get overriden when TK is loaded
  1017.       (define (tk-doevents) 'tk-doevents)
  1018.       (define (tk-init dsp) 'tk-init))
  1019.  
  1020.     ;; Dynamically load the microcode.  Order important.
  1021.     (load "dynload/scxl")
  1022.     (load "dynload/tcl")
  1023.     (load "dynload/tk")
  1024.     (load "dynload/uitk")
  1025.    
  1026.     ;; And now the Scheme level
  1027.     ;;(load "scc-macros")
  1028.     ;;(load "uitk-macros")
  1029.       
  1030.     ((access with-directory-rewriting-rule
  1031.          (->environment '(RUNTIME COMPILER-INFO)))
  1032.      (working-directory-pathname)
  1033.      (pathname-as-directory "lib/swat")
  1034.      (lambda ()
  1035.        (let ((load
  1036.           (lambda (file)
  1037.         (load file '(SWAT)))))
  1038.      (load "control-floating-errors")
  1039.      (load "structures")
  1040.      (load "structures2")
  1041.      (load "generics")
  1042.      (load "uitk")
  1043.      (load "xlibCONSTANTS")
  1044.      (load "mit-xlib")
  1045.      (load "tk-mit")
  1046.      (load "mit-xhooks")
  1047.      (load "widget-mit")
  1048.      (load "baseobj")
  1049.      (load "widget")
  1050.      (load "geometry")
  1051.      (load "simple")
  1052.      (load "canvas")
  1053.      (load "menu")
  1054.      (load "text")
  1055.      ;;(load "rtest")
  1056.      ;;(load "btest")
  1057.      )))))
  1058.