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

mouse-to-command translation



    Date: Wed, 11 Jul 90 19:01 EDT
    From: barmar@Think.COM (Barry Margolin)

	Date: Wed, 11 Jul 90 15:26:22 MDT
	From: drstrip@cs.sandia.gov (David R Strip [1411])

	Is there an easy way to "present" an object to a lisp listener
	such then when it is moused it causes a form to be evaluated?
	strip

    Present the object as the presentation type SYS:FORM or CP:COMMAND
    (depending on whether you want it to echo as a form or a command).

Depending on what you mean by "when it is moused it causes a form to be
evaluated," you might want to define a side-effecting handler via
define-presentation-action.