[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why do *sequence-dialog-item*'s blink when changing them?
- To: email@example.com
- Subject: Why do *sequence-dialog-item*'s blink when changing them?
- From: Andrew L. M. Shalit <alms>
- Date: Mon, 11 Mar 91 11:14:56 -0500
- Cc: firstname.lastname@example.org, info-macl
- In-reply-to: Luke Hohmann's message of Sat, 09 Mar 91 11:54:14 -0500 <9103091654.AA18795@csmil.umich.edu>
From: Luke Hohmann <email@example.com>
Thanks for the tip regarding modification of a sequence dialog,
but I already tried changing the variable ccl::table-sequence-iv
directly and then calling draw-cell-contents on the new cells,
but no luck.
I believe the suggestion was that you modify the sequence, not that
you put a new sequence in the instance variable. You definitely
should *not* be changing the instance variable directly (i.e.
bypassing the defined accessr).
If you want to change items in the sequence, then modifying the
sequence will work. However, it probably won't work if you want
to grow or shrink the sequence.
The other solution is to to implement your own subclass of
*TABLE-DIALOG-ITEM*. The new subclass would be just like
*SEQUENCE-DIALOG-ITEM*, except it wouldn't force redraws as often.
This actually isn't that much work. There are only a few functions
defined specifically on *SEQUENCE-DIALOG-ITEM* (you can see them
by inspecting the class).