home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp.mcl
- Path: sparky!uunet!convex!darwin.sura.net!spool.mu.edu!agate!boulder!cambridge.apple.com!apple!taligent!data.nas.nasa.gov!ames!saimiri.primate.wisc.edu!sdd.hp.com!caen!uwm.edu!daffy!uwvax!uchinews!tango.uchicago.edu!mcdougal
- From: mcdougal@cs.uchicago.edu (Tom McDougal)
- Subject: Re: parallel text dialog items
- Message-ID: <721410086.6349@news.Colorado.EDU>
- Lines: 23
- Sender: news
- Organization: Univ. of Chicago Computer Science
- References: <1992Nov9.170736.5118@midway.uchicago.edu>
- Distribution: co
- Date: 9 Nov 92 17:29:23 GMT
- Approved: news
- X-Note1: mail msgid was <1992Nov9.172923.6367@midway.uchicago.edu>
- X-Note2: message-id generated by recnews
- Lines: 23
-
- >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.
-