8.5 Examples of Defining Presentation Translators in CLIM
When you are writing an interactive graphics routine, you will probably encounter the need to have commands available when the mouse is not over any object. To do this, you write a translator from the blank area.
The presentation type of the blank area is blank-area. You probably want the :x and :y arguments to the translator.
For example:
(clim:define-presentation-to-command-translator add-circle-here (clim:blank-area com-add-circle my-command-table :documentation "Add a circle here.") (x y) '(,x ,y))
Generated with Harlequin WebMaker