All Manuals > Common Lisp Interface Manager 2.0 User's Guide > Chapter 8 Presentation Translators in CLIM > 8.5 Examples of Defining Presentation Translators in CLIM

NextPrevUpTopContentsIndex

8.5.2 Defining a Presentation-to-Command Translator

The following example defines the delete-file presentation-to-command translator:

(clim:define-presentation-to-command-translator 
 delete-file
 (pathname com-delete-file my-command-table 
           :documentation "Delete this file" 
           :gesture :delete) 
 (object)
 (list object)) 

Common Lisp Interface Manager 2.0 User's Guide - 7 Aug 2017

NextPrevUpTopContentsIndex