[previous] [up] [next]     [contents] [index]
Next: drscheme:get/extend:extend-definitions-canvas Up: Tools Previous: drscheme:rep:process-edit/zodiac

Extending the DrScheme Classes

Each of these names is bound to an extender function. In order to change the behavior of drscheme, you can derive new classes from the standard classes for the frame, edits, canvases. Each extender accepts a function as input. The function it accepts must take a class as it's argument and return a classes derived from that class as its result. For example:

(drscheme:get/extend:extend-interactions-edit
  (lambda (super%)
    (class super%
      (public
        [method1 (lambda (x) ...)]
        ...))))
extends the interactions edit class with a method named method1.

Each of these names actually has a percent character appended onto the end of it. Those are not shown here.

Procedures:



PLT