window-add-callback

long ( window-add-callback long window-id word event word function)

Sets the callback function of a given window (frame, panel, panel item etc.) for the given event, to be the given CLIPS function. Possible events are: