vlr-toolbar-reactor
(vlr-toolbar-reactor customData
callbackList)
This function creates and attaches a Toolbar
operation reactor to the current drawing, for the command events
specified by callbackList.
Arguments
|
customData
(any valid Lisp data) custom data to be
associated with the reactor object, can be NIL
callbackList (list) list of DottedPair entries, each
DottedPair has the form
(event
. callback)
event : one of
these symbolic constants
|
:vlr-toolbarBitmapSizeWillChange
|
toolbar icon size is about to
be changed
|
|
:vlr-toolbarBitmapSizeChanged
|
toolbar icon size is about
has been changed
|
callback : the
client Lisp side callback function, using 2 arguments :
(defun MyCB ( reactor args
/ ...) ...)
reactor : the
toolbar reactor object - #<VLR-Toolbar-Reactor>
args : (list)
contains 1 argument always :
|
:vlr-toolbarBitmapSizeWillChange
:vlr-toolbarBitmapSizeChanged
|
1 argument
T if toolbar icon size is set to large
bitmaps
T if toolbar icon size is set to small
bitmaps
|
|
Return
|
the reactor object
#<VLR-Toolbar-Reactor> or NIL
|
Example
|
|
Remarks
|
|