[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mouse handlers



   i have a presentation-to-command-translator which has a :tester whose
   purpose is to make this translate only when over a certain pane of a
   dw:define-program-framework.  I therefore wish to compare the window
   entering the translator with something like

   :tester ((&key window) (eq window (dw:get-program-pane 'my-pane)))

Use the following instead: 
   
   :tester ((&key window) (and (eq window (ignore-errors (dw:get-program-pane 'my-pane)))))

This worked in 7.2...  Rod