CLIM mail archive

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

:documentation option for define-command



I think it would be quite useful if CLIM (2.0?) would provide a :documentation
option for define-command. The value of this key could serve as the
documentation string for the created (command) function. One could then
implement a simple 'help' facility for the commands the UI provides:


  (format *standard-output* "Enter the command you need help for: ")
  (documentation (first (clim:read-frame-command clim:*application-frame*)) 
                 'function)

(This code is only to illustrate the idea). What do you think about it? Are
there any difficulties to be expected from presentation-to-command-translators? 

Merry Christmas and a happy new year,

Oli

0,,

Follow-Ups:

Main Index | Thread Index