vlr-reaction-set


(vlr-reaction-set reactor event callback)

This function assigns the specified callback function for the event of the reactor object.

Arguments

reactor  (any reactor object)  the reactor to be adjusted
event  (symbol)  the reactor event to use the new callback function (event is specific for the reactor type)
callback  (symbol)  the client Lisp side callback function to be used for the specified event

Return

the callback symbol or NIL

Example

(setq rx (vlr-object-reactor nil nil '((:vlr-modified . cbAll))))  #<VLR-Object-Reactor>
(vlr-reactions rx)  ((:VLR-MODIFIED . CBALL))
(vlr-reaction-set rx :vlr-modified 'cbModified)  CBMODIFIED
(vlr-reactions rx)  ((:VLR-MODIFIED . CBMODIFIED))

Remarks

see (vlr-reactions) function



©  Bricsys NV. All rights reserved.