Output destination argument of McCLIM commands - Lisp Propulsion Laboratory log

Lisp Propulsion Laboratory log

Paolo Amoroso's weblog. Main interests: Lisp, astronomy (Moon), space exploration (Apollo and early manned programs) Calendar of past entries | Related links xml

Output destination argument of McCLIM commands

Saturday, August 21, 2004

Here is a list of the McCLIM listener commands that take an output destination argument:

This feature, which is a McCLIM extension, is actually not limited to the listener and can be used in other applications. clim:define-command is extended to take the additional keyword argument :provide-output-destination-keyword. This should be t to make the defined command accept an output destination. It is nil by default because there are still some issues with completion and defaulting. A typical command definition then becomes something like:

(define-command (com-my-command :name "Name" :menu "Menu Name"
                                :command-table my-command-table
                                :provide-output-destination-keyword t)
    ((argument 'arg-presentation-type))
  ;; command body

Copyright © 2004 by Paolo Amoroso

Created with BlogMax

August 2004
Mon Tue Wed Thu Fri Sat Sun
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Jul  Sep
About Lisp | Practical Common Lisp (learn Lisp) | Planet Lisp (blog agregator) | Common Lisp Directory (software and resources) | Why Lisp?