CLIM mail archive


Passing user-defined arguments to presentation methods

   Date: Wed, 29 Jun 1994 15:34-0700
   From: Gregory M Anderson <>

   How do I pass other arguments to presentation methods?

   I would like to do:

   (present object 'type :stream stream :view view :my-keyword my-keyword-value)

   (define-presentation-method present
			       (object (type 'type) stream
				       &key my-keyword)
      (print my-keyword))

   But I can't figure how to get the new keyword value across.

You don't.  You make that a presentation type option, and pass it in
the presentation type.


Main Index | Thread Index