CLIM mail archive
[Prev][Next][Index][Thread]
Is there a way to manually "tweak" inferior presentations
This is in the CLIM 1.0 world.
Is there a straight forward way to avoid going thru the top-down replay
methodology in the output record tree where you can directly manipulate
the leaves within the output-record tree?
If you have a situation like:
(setq a (with-output-presentation (:stream a-stream :object a-object)
(draw-something a-stream)
(setq b (with-output-presentation
(:stream a-stream :object b-object)
(draw-something-different a-stream)))))
I know I can remove b from the output history of a-stream by simply
(erase-output-record b a-stream), while keeping b as an output-record-element
of a.
Now I want to separately change b's presentation to encapsulate a totally
different drawing routine, ala (draw-something-completely-different a-stream).
And then add b back to the output history of a-stream without it appearing
at a-stream's output-record-element level.
First, is there a way of changing the inferior presentation b to use that
function without actually going to a-stream, and then update a's output-record-
element to use that new presentation. I notice that you can with-new-output-record to generate a new output record element, and the documentation says, "The new record is then inserted into the current "open" output record associated with stream (or the top level output record if there is no currently "open" one). How do I set that "OPEN" record in order to
dump b in so I can just replay at b's level? Any examples of direct manipulation of output-record-elements of inferior presentations. My big
reason for this is that my inferior presentations may goes as deep as five
levels, and if only some of the leaves change, I want to do it directly.
0,,
Follow-Ups:
Main Index |
Thread Index