[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parallel text dialog items
- To: info-mcl
- Subject: Re: parallel text dialog items
- From: mcdougal@cs.uchicago.edu (Tom McDougal)
- Date: 9 Nov 92 17:29:23 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: Univ. of Chicago Computer Science
- References: <1992Nov9.170736.5118@midway.uchicago.edu>
- Sender: news@uchinews.uchicago.edu (News System)
>I want to have text appear simultaneously in two places within a
>window. A variant on the text-edit-dialog-item (from the examples
>folder) would be fine, but I'm not sure how to pass the key-events
>to multiple dialog items. Several attempts so far have failed.
For the record, here is one attempt which did not work.
If someone could help me understand why, I would be grateful:
(defclass twin-text-item (aligned-text-dialog-item)
((brother :accessor brother :initarg :brother
:type 'text-edit-dialog-item)))
(defmethod key-event-handler :after ((self twin-text-item) char)
(key-event-handler (brother self) char))
----------------------------------------------------------------------
-Tom McDougal mcdougal@cs.uchicago.edu (312) 702-0024
Dept. of Computer Science, University of Chicago
1051, Lady Godiva puts everything she has
on a horse. Citizens of Coventry place bets
for Godiva to show.