[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
specializing CELL-SELECT in sequence dialog items
- Subject: specializing CELL-SELECT in sequence dialog items
- From: mhaines@jarthur.claremont.edu (Matthew Haines)
- Date: Mon, 28 Jun 1993 07:54:44 GMT
I'm trying to specialize the cell-select and cell-deselect methods
of the sequence-dialog-item. It seems to me that the following code
should print the coordinates when a cell is clicked on. Unfortunately,
it does not.
(defclass test-sequence-item (sequence-dialog-item)
())
(defmethod cell-select ((item test-sequence-item) h &optional v)
(call-next-method)
(format t "~S,~S~%" h v))
(defvar w)
(setq w (make-instance 'window
:view-subviews
(list
(make-instance 'test-sequence-item
:table-sequence '(0 1 2 3 4 5)))))
Any pointers would be much appreciated.
--Matthew